[Sidefx-houdini-list] GLSL Function library
Andrew D Lyons
tstexture at gmail.com
Fri Dec 11 14:34:38 EST 2009
Hmm - I could have sworn there were some GLSL light examples in there.
I don't know where I saw those now. Must have got them off the
2009/12/11 François Duchesneau <sidefx at trinix.ca>:
> I don't find any inner and outer code section like I would in vex. I've
> looked at the OGL2 Wood and it doesn't seem to point to any library.
> By the way under Windows I can't even make these work. I've got this
> warning and everything's black. However I can make mine compile
> WARNING[ogl2_wood]: Failed to bind variable 'GrainSize'
> WARNING[ogl2_wood]: Failed to bind variable 'Scale'
> WARNING[ogl2_wood]: Failed to bind variable 'DarkColor'
> WARNING[ogl2_wood]: Failed to bind variable 'colorSpread'
> Andrew D Lyons wrote:
>> Aren't there some example GLSL shaders in SHOPs? There are code - with
>> includes - examples in the inner and outer (?) code sections of those
>> 2009/12/11 François Duchesneau <sidefx at trinix.ca>:
>>> I'm creating a glsl shader to mimic volumetric smoke with sprites. The
>>> idea is to be able have good approximation of what the smoke will look
>>> like at render time. So far I'm able to create a disk with the
>>> transparency falling off radially and passed the Alpha and Cd. The next
>>> step is to add some noise. I'm a newby in the OpenGL world but I saw the
>>> houdini\ogl2\gpgpu folder that includes some functions. Can I use that
>>> inside my GLSL shader and if yes, how?
>>> I tried using #include like in C but it doesn't work and I can't find
>>> anywhere how to link to other libraries.
>>> Sidefx-houdini-list mailing list
>>> Sidefx-houdini-list at sidefx.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
Andrew D Lyons | Digital Artist | http://www.tstex.com
More information about the Sidefx-houdini-list