Hi,

when attaching a textures to a camera one can define separate values for the 
parameters multisampleSamples and 
multisampleColorSamples for each attachment. 
In my specific use case i  want to enable multisampling for COLOR_BUFFER0 and 
disable it for all other color buffers (e.g objectid and normal textures):


Code:

camera->attach(COLOR_BUFFER0, colorTexture, 0, 0, false, 4, 4);
camera->attach(COLOR_BUFFER1, normalsTexture, 0, 0, false, 0, 0);
camera->attach(COLOR_BUFFER2, objectidTexture, 0, 0, false, 0, 0);




This does not work as expected... the normalsTexture and objectidTexture are 
multisampled. How can i disable multisampling for COLOR_BUFFER1 and 
COLOR_BUFFER2?

Thank you!

Cheers,
Claus[/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60792#60792





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to