You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to get the deferred shading lesson to work, but the backpack model doesn't load correctly and appears as solid black.
From the errors emitted, the first four letters of each texture name are being skipped, e.g., "Specular.jpg" becomes "ular.jpg". It's the same for the diffuse ("use.jpg") and normal ("al.png") maps.
As far as I can tell, the sample should work correctly-- it looks like the lack of a normal map is causing the normals to be zeroed out and the lack of a diffuse map is causing the ambient portion of the lighting equation to be zero as well.
The text was updated successfully, but these errors were encountered:
I was trying to get the deferred shading lesson to work, but the backpack model doesn't load correctly and appears as solid black.
From the errors emitted, the first four letters of each texture name are being skipped, e.g., "Specular.jpg" becomes "ular.jpg". It's the same for the diffuse ("use.jpg") and normal ("al.png") maps.
As far as I can tell, the sample should work correctly-- it looks like the lack of a normal map is causing the normals to be zeroed out and the lack of a diffuse map is causing the ambient portion of the lighting equation to be zero as well.
The text was updated successfully, but these errors were encountered: