Working on a volumetric texture shader so objects in the camera game can have interesting cross sections #madewithunity #shaders #gamedevpic.twitter.com/PbIZo4C4Xw
-
Pokaż ten wątek
-
I generate the textures using 3D signed distance fields. They're stored as a series of slices in a 2D texture. Here's what the texture for the watermelon looks like:pic.twitter.com/r9faQeegLp
16 odpowiedzi 27 podanych dalej 486 polubionychPokaż ten wątek -
W odpowiedzi do @mattstark256
Do you author these by hand?
1 odpowiedź 0 podanych dalej 0 polubionych -
W odpowiedzi do @calvinatorr
I made a tool using Unity where I can create various types of signed distance field objects and specify their positions, sizes and colours. For example, each watermelon seed is an ellipsoid SDF. The tool then generates a texture from them.
1 odpowiedź 0 podanych dalej 13 polubionych -
W odpowiedzi do @mattstark256 @calvinatorr
They're fairly quick to create but they're limited to what shapes I can represent using signed distance fields. It might be interesting to try and find a way to make it handle meshes too.
1 odpowiedź 0 podanych dalej 0 polubionych
Ah yes I thought that might be what you're doing - compositing distance fields into, well, another distance field!
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.