Relative Content

Tag Archive for glsllight

Heightfield light shows triangle edges

I’m rendering an heightfield, single directional light, but the triangle edges stand out, even though the normals seem ok. I guess it’s a problem with the shader, then, but I can’t seem to find it.

Heightfield light shows triangle edges

I’m rendering an heightfield, single directional light, but the triangle edges stand out, even though the normals seem ok. I guess it’s a problem with the shader, then, but I can’t seem to find it.