jmmistrot

jmmistrot

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Multiple UV sets in GLSL Nov. 2, 2009, 6:54 p.m.

I have imported some geo via FBX which has multiple UV sets. These sets are imported correctly and show up as vertex params uv and uv2. When I use uv in a glsl context via gl_TexCoord all works well, but when I try and use the second set uv2 in via gl_TexCoord I get nuttin!! How would I access this second set of coords in the shader?
I am used to cgfx / hlsl and would just bind a variable to an app interpollant via a semantic but not sure how it all works in the glsl houdini context….

Simple Texture GLSL shader Oct. 29, 2009, 4:33 p.m.

ahhh the polygon was the key! I like using manual updates as I typically have some big networks and Houdini likes to crash.. awesome great thanks

Simple Texture GLSL shader Oct. 28, 2009, 5:05 p.m.

So maybe I am having a graphics card issue then? I hooked up the OGL2 Decal shader and assigned it to a material suboutput and the material to a sphere with a UVTexture SOP on it. Then I chose a map for the textureidx param of the GLSL shader and ouila black is all I get! A beautiful black sphere..
I have an 8800 GTX. Would someone mind sending me a known working hip file with this setup… I have attached mine: