[osg-users] Fwd: Problem with shaders

Robert Osfield robert.osfield at gmail.com
Mon Jul 23 11:42:21 PDT 2007


---------- Forwarded message ----------
From: Robert Osfield <robert.osfield at gmail.com>
Date: Jul 23, 2007 7:41 PM
Subject: Re: [osg-users] Problem with shaders
To: Guy Lifchitz <prometheus.the.great at gmail.com>


On 7/23/07, Guy Lifchitz <prometheus.the.great at gmail.com> wrote:
> I ment texture2D, this is not the point here. The point is the weird
> behaviour I mentioned before.
> thanks,

OK, the second error is that you need to passing in a sampler2D rather
than an int into texture2D as a first parameter, passing in a int will
result in compile error.

Robert.


More information about the osg-users mailing list