From the course: 3ds Max: Tips, Tricks and Techniques

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Using named coordinate spaces in Open Shading Language (OSL)

Using named coordinate spaces in Open Shading Language (OSL) - 3ds Max Tutorial

From the course: 3ds Max: Tips, Tricks and Techniques

Using named coordinate spaces in Open Shading Language (OSL)

Our Open Shading Language, we saw how to control map placement on objects that have traditional UV layouts like this box primitive. This week we'll see how to use OSL named coordinate spaces, and these are coordinate spaces built into OSL itself and they allow us to apply maps onto surfaces directly without any UVs at all. select it, go over to the modify panel and I've got a UVW map modifier, I'll just delete that with the trash can, and in the box creation parameters here we can just turn generate mapping coordinates off and now since there are now UVs we get a solid color. Let's open up the material editor, and here's the shading at work from the most recent movie and if I pan around with the middle mouse button, we've got a map channel node, it's the UVW channel node and it's determining into which map channel this map will be placed, and we've only got one map channel right now it's channel one, but there are no UVs in there. Alright we're going to use a completely different…

Contents