Supersampling information in shader


Recommended Posts


is there any uniform which can be accessed to get supersampling scaling value in the geometry shader?

Did not find it in the documentation.


Link to post

You can store supersampling parameter in material as workaround. Something like this:

MaterialPtr mat = Materials::findMaterial("name");
mat->setParameterFloat("supersampling", Render::getSupersampling());


How to submit a good bug report
FTP server for test scenes and user uploads:

Link to post