fix: restore MemoryCopy for UBO + PBR shader with point light

- UBO packing: MemoryCopy for vp (64B) + lightPos (16B) + lightColor (16B)
- PBR fragment shader with Cook-Torrance BRDF + point light
- No directional light, near-zero ambient — only point light illuminates
- Guards against div-by-zero in attenuation and specular
- Depth buffer properly configured in pipeline + rendering info
This commit is contained in:
emil28092005
2026-06-18 19:43:31 +03:00
parent e37e7a4eed
commit 4771371021
3 changed files with 91 additions and 14 deletions
Binary file not shown.