Hi Sebastian, I believe copying and pasting code is not the case here. I have read a lot about MRT, RTT and FBO and debugged some source code examples (including your hints), however I still have problems in my side to compute the normal.
So let's go to new doubts: - In Kapelko's example, if I disable the bumpmap use, why is the normal still computed by using the TBN matrix (please see [0])? Why the nn is set to vec3(1.0)? In addition, why one of the walls does not contains data (green channel is missing?) - please see attachment? [0] https://bitbucket.org/kornerr/osg-deferred-shading/src/2b2f5532f41c305b31c46467291281388657b392/pass2.frag?at=default&fileviewer=file-view-default#pass2.frag-20 - ... Thank you! Cheers, Rômulo ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72729#72729 Attachments: http://forum.openscenegraph.org//files/screenshot_from_2018_01_11_11_13_50_144.png _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

