Hi Sajjad,
A lot has been written about shaders and OSG over the years, so rather
than me waste time going over old ground please could you search the
archives.
Robert.
On Mon, Apr 27, 2009 at 2:47 AM, ami guru wrote:
> Hello Robert,
>
> After going through several source code regarding shaders
Hello Robert,
After going through several source code regarding shaders, i think that
using seperate program for different type of shader is a better
choice.
In that case i am creating a vector<> of osg::Program initially, and
attaching the shaders corresponding to the programs.
Now with user i
Hello Robert,
Thanks for the feedback.
I am trying to design the interface as follows:
if(userEvent == "Toon Shader")
{
//adding the corresponding shader to the program for the StateSet of the
model
}
else if(userEvent == "Gooch Shader")
{
//adding the corresponding shader to the program
3 matches
Mail list logo