Open pbsds opened 3 weeks ago
Oh I guess the texture is somehow configured to clamp to [0,1] for your drivers, but not mine. I didn’t explicitly set this behavior in the code, and also don’t know OpenGL well enough to know what parameter to set, or if it is impossible. And honestly, it is quite unlikely that I‘ll ever fix that.
I ran this on my computer and got![image](https://github.com/Indeximal/UnderstoryScene/assets/140964/2181410f-9b54-4989-ba3d-7ab57978ae83)
Clearly the distant terrain is clamped. I tried changing rust toolchain and display driver and even linux distro with no effect. I landed on this janky workaround:
result:![image](https://github.com/Indeximal/UnderstoryScene/assets/140964/c354bfe0-ca19-46f6-bf3f-5f98769fc0f6)