-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi Andreas,
On 6/05/2015 13:28, Andreas Schreiber wrote:
If I pass the following vector from osg code to the shader:
Code: plane-getOrCreateStateSet()-addUniform(new
osg::Uniform(object_position,
osg::Vec4(1, -0.25, 1,1)));
This vector is
Hi
I've got the following problem/question.
If I pass the following vector from osg code to the shader:
Code:
plane-getOrCreateStateSet()-addUniform(new osg::Uniform(object_position,
osg::Vec4(1, -0.25, 1,1)));
This vector is in world space coordinates, correct?
Now if I want this vector
Hi
I've got the following problem/question.
If I pass the following vector from osg code to the shader:
Code:
plane-getOrCreateStateSet()-addUniform(new osg::Uniform(object_position,
osg::Vec4(1, -0.25, 1,1)));
This vector is in world space coordinates, correct?
Now if I want this vector
3 matches
Mail list logo