debug: hardcoded light in fragment shader — no UBO light data
Light at (0,10,0) hardcoded in GLSL. Tests if lighting math works. If light works: problem is UBO layout for light data (std140 padding). If artifacts: problem is in fragWorldPos or fragNormal.
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user