Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[graphics] Fix issue with envmap math (#3862)
A few people in the discord noticed that the shiny part of the subrails looks different between PS2 and OpenGOAL. I looked into this and found a bug where the length of the normals was half what they should have been. Earlier this didn't matter because I normalized them in the shader, but at some point I removed that when refactoring other parts. I'm not completely convinced we have the intensity/tint multiplier working correctly, but this is at least a step in the right direction. https://github.com/user-attachments/assets/ee754011-08ac-4bee-94b2-d0e114b952ec https://github.com/user-attachments/assets/1079635a-0b92-4965-a991-972ef6048ddf For fun, here's this fix, plus a random doubling of the envmap effect strength: https://github.com/user-attachments/assets/726e7b8d-c020-42cf-a594-cad590c0ef7d --------- Co-authored-by: water111 <[email protected]>
- Loading branch information