this method is not reproducible outside of your demo. there are some weird manipulations inside your c++ code which lead to objects with "reflective" material flag having different view-space positions in g-buffer. i cannot locate those, due to psychedelic structure of that project, located at github.
output of "normalize(cameraSpacePosition)" with all objects having "reflective" material: http://snag.gy/qf53t.jpg
and the same with all objects having "cow" material: http://snag.gy/TH3Lr.jpg
this method is not reproducible outside of your demo. there are some weird manipulations inside your c++ code which lead to objects with "reflective" material flag having different view-space positions in g-buffer. i cannot locate those, due to psychedelic structure of that project, located at github.
ReplyDeleteoutput of "normalize(cameraSpacePosition)" with all objects having "reflective" material: http://snag.gy/qf53t.jpg
and the same with all objects having "cow" material:
http://snag.gy/TH3Lr.jpg