Hi Carsten,
>> Unfortunately, OpenSG does not pre-define the projection matrix as
>> generic
>> uniform. That means you need to use GLSL compatibility mode (as in e.g.
>> #version 330 compatibility) to access the projection matrix as
>> gl_ProjectionMatrix in your GLSL code.
>
> there is 'OSGProjectionMatrix', which should contain the projection. For
> the full list of OpenSG 'built in' uniforms see:
> Source/System/State/Shader/Variables/OSGShaderVariableOSG.{h,cpp}.
>
That's awesome, thanks for the correction :)
Regards,
Alex
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
VERIFY Test and improve your parallel project with help from experts
and peers. http://goparallel.sourceforge.net
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users