apply GLSL uniform per-camera

asked 2019-04-24 17:03:11 -0500

mogumbo gravatar image

I want to apply a user-settable gamma curve to images rendered in the Gazebo client, but I don't want to apply any gamma to images rendered by the server. If I have a gamma uniform in the GLSL shaders that I'm rendering with, is there a way to set it to one value for the client camera and a different value for other cameras?

edit retag flag offensive close merge delete