• The obj file of sponza model has texture coordinates beyond [0,1], it even has negative numbers! When I map it to Gbuffer, the texture2D() just went wrong. So should use vec2 newTextCoord = fract(TextCoord);

Leave a Reply

*