▲ 58 r/shaders
Wind shader for voxel forest
I'm once again amazed for what kind of things shaders can be used.
Because I use greedy meshing with T-junctions I had to make sure that the shader doesn't cause cracks between the faces. I solved this by keeping it multilinear in (y, x·y, y·z) with per tree constant coefficients, so it interpolates along axis-aligned edges.
u/calfurdev — 8 days ago