🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest precision Activity

I'm working on screen space shadows in an OpenGL/C++ renderer, and I've been having this weird erroneous shadowing artifact. Here's a video of the artifact in action. Notice how the screen space shadows that I want to see are rendering correctly, just with a lot of artifacts on top. This means ther…

2,950 views
Advertisement

In the end I worked around this as follows:

1) I set  “precision highp float; ” in my shader, so that it uses 32 bit, even on OpenGL ES

2) Then, to improve the performance, I first render to a smaller texture FBO, then scale it up to the screen

6,136 views
Advertisement
Advertisement