I am having trouble compiling GLSL shaders that are #version 140 or higher.
Ideally, I'd like to compile GLSL shaders that are #version 410. I believe to
do this, OSG should create an OpenGL context that is 4.1, but everything I've
been trying has been creating a (very old!) 2.1 context. Please
-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
2 matches
Mail list logo