09/22/2017

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

Your email address will not be published. Required fields are marked *