From the course: Houdini: Particles

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Shader overview

Shader overview - Houdini Tutorial

From the course: Houdini: Particles

Start my 1-month free trial

Shader overview

- [Instructor] Now that we have our scene elements built, what I want to do is show you this custom sprite shader that I've built in here so you can get an overview of what goes into that. So if you go into our shader shop network here I'm gonna go into the sprite material shader builder and I'm just gonna walk you through what is built. This is really straightforward, in that we have a texture, with UV cords coming in and texture mapping assigned. And then we're also grabbing in our CD, our color data that we've defined, and our alpha data. We're splitting out the texture into its color components and its alpha component. We're multiplying the incoming CD by the texture value. And the same thing down here. We're taking the texture alpha value and multiplying that by the attribute alpha we have on the different points. Then we're bring those together, basically pre-multiplying that, the color by the alpha. And then we're sending that down over to the surface output, the CF and the OF…

Contents