Hydrax and other compositors?

heavydist

06-07-2012 15:30:55

I am having a problem with using hydrax and other compositors. When they are enabled, the reflections are rendered all wrong, it seems like reflection camera "looks" at the right things, but at different angles, and when you move the camera around it definitely does not look like a reflection, it looks skewed in some way...

I've experimented with what might cause this, and it seems that it is other compositors. My theory is that if you don't disable compositors for the RTT pass at least (or at all), the reflection logic will work wrong, because instead of taking a reflection of the scene, it takes a reflection of the compositor's result (the rendered quad), and that of course looks wrong. But this would mean that hydrax in its current form is completely unable to properly display reflections with other compositors enabled. I can think of a solution, but it is strange that noone else seems to have encountered this problem, even though other compositors are pretty common.

Did you guys have this problem at all? Or are you able to run hydrax and other compositors without a problem?

heavydist

19-08-2012 23:34:03

Just for future reference, more info about this here: http://ogre3d.org/forums/viewtopic.php?f=1&t=70852

Also I now know that the reflection is simply inverted in the y-direction.