In the example picture I passed per instance foliage positions into the pixel shader to add a cheap drop shadow on cuttable grass.
-
-
Pokaż ten wątek
-
I've been schooled in an even better way of doing this:https://twitter.com/chadowrun/status/949347937250828288 …
Pokaż ten wątek
Koniec rozmowy
Nowa rozmowa -
-
-
You should check out the interpolation node added in 4.16, it's removes the need for fiddling with custom UVs and inlines your graph. https://docs.unrealengine.com/latest/images/Support/Builds/ReleaseNotes/4_16/image_36.png … https://docs.unrealengine.com/latest/images/Support/Builds/ReleaseNotes/4_16/image_37.png …
-
Oh hell yea! Even better. I just discovered the custom UV nodes yesterday, glad to see this cleans up the pack/unpack for you!
Koniec rozmowy
Nowa rozmowa -
-
-
noob question here... why does shifting compute time from the PS to VS make a difference in terms of performance?
-
The vertex shader executes on the 3 points of a triangle and interpolates the values across it's surface, while the pixel shader executes for every pixel fragment that the triangle touches.
- Pokaż odpowiedzi
Nowa rozmowa -
Wydaje się, że ładowanie zajmuje dużo czasu.
Twitter jest przeciążony lub wystąpił chwilowy problem. Spróbuj ponownie lub sprawdź status Twittera, aby uzyskać więcej informacji.