top of page

Custom OSL Shader

Reference Image

thumbnail_IMG_6566.jpeg

WIP RENDERS

ramp1.jpeg
screen.jpeg
3.jpeg

The first step is to put down a sphere and a cube in the view port. Next, you create UV's on both of your objects so the lines on your ornament will appear. Next is to use an HDRI for your scene. Since my scene was Christmas-based, I used a Christmas Light HDRI for the background. You can also adjust the light's brightness intensity by clicking on your sky dome.

viewport.JPG
Sphere.JPG

The second step is to go into materials and drop and OSL node change it into text, and you will type this code to put color on your objects. You will also make a code for your noise, ramp, and multi to help the ornament look more like your reference.

file.JPG
text.JPG
OSL.JPG

I first did my code for my ramp and my code for my noise. I put down a displacement and plugged my noise into the displacement and my color ramp into my material diffuse color and reflective roughness. To change the lines and make you would turn your multi.

CODE1.JPG
noise.JPG
sce.JPG
l.JPG

Overall Troubleshooting

I overall had fun and enjoyed creating the Christmas ornament the only problem that I ran into was trying to make my lines on the ornament glittery. I couldn't figure out how to only get noise on the multi. But overall, I think I did a good job matching my reference the best way I could, and I'm delighted.

file://sav-stufile.ad.scad.edu/stuhome/the_3_amigos.jpg

the_3_amigos.jpg
candylthe_3_amigos.jpg
33the_3_amigos.jpg

Final Renders

CONTACT information:
hdudleyjr4@GMAIL.COM
podcast:Gamerheadnerds

website created by harold dudley

bottom of page