Hi Paul,
depending on what you are trying to achieve, you've got to update the
planes every frame in the way you mentioned.
If your matrix is somehow connected to the View or Modeling matrices,
you need to update them.
You can use a updateCallback or look into the samples for TexGenNode IIRC.
Hi Paul,
Hi,Just a small one -
Are the gl_EyePlanes automatically setup when calling
texgen-setPlanesFromMatrix(...)?
I'm trying to replicate simple Projective texturing using glsl.
I am not sure what you mean by automatically... It will be applied to OpenGL
in draw phase.
When used with
Hi,Just a small one -
Are the gl_EyePlanes automatically setup when calling
texgen-setPlanesFromMatrix(...)?
I'm trying to replicate simple Projective texturing using glsl.
Regards
IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the
3 matches
Mail list logo