Jump to content

Writing a shader

Recommended Posts

Okay ,

I have a finished character in houdini.

I need to texture it.

I had this plan for the texture.

First , displacement using a cellular map.

Then I want to bump the displaced shader lightly with some noise.

Then ,the diffuse using the same cellular map for the diplacement with darker shades of green for the dark areas and light shades of green in the lighter areas.

Then a fresnel based falloff for a second skin like appearance.

I would also like to create a kind of slimy appearance with the falloff.

I have done something similar in max.But to do the same in houdini in vex seems out of reach :huh: .

Any tips on how to create this type of shader in vex or on any of the videos available at vislab which might help me would be appreciated.



Link to comment
Share on other sites


I believe there's a video tutorial on using the VOPs. Although VOPs may still require some basic knowledge of shader writings, but for the most part, it should be pretty accessible for your basic needs. I know there's are different noises in VOPs that's prebuilt for you such as Voronoi noise, etc. etc. Perhaps those should help you get started in playing with VOPs?



Link to comment
Share on other sites

Hey lanchka, do you mean something like this? Done in max a long time ago. And are you thinking of the cellular map in max, or the one in Houdini, because the two patterns are different. As far as I know the one in max isn't available in Houdini, but you can get close with Voronoi noise.


Link to comment
Share on other sites

Here is what I call a gloop shader. It is written in vex and not vops right now. Does nice siimple cell noise. You can edit the code to do non-spherical cells like squares triangles, blotches, etc.

The bumps are more evenly distributed than in the example above but that is done simply by passing some low frequency noise to the cell bumps.

As for fresnel reflections, not currently in the shader but certainly doable.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...