Uploaded April 2024 | Updated November 2026, 3 hours ago
MESSAGE:
After the really successful Foam tutorial that you seem to have really liked, this week something smaller but equally nerdy that solves a problem you might not even knew existed. I myself in fact did not know myself until last week when I got the request from Adam Zen to create this shader. Funny thing again the original of this is a blender video that shows how you can do that with Blender nodes in Cycles.
As always I hope you like it and find it useful.
PATREON:
---------------------------------------------------
You can support me and the community by becoming a PATREON.
This helps me to keep all my content free and accessible to everyone.
patreon.com/silverwingvfx
Thank you so much for all my existing PATREONs for your generosity!
FOLLOW ME ON SOCIAL MEDIA:
---------------------------------------------------
Twitter: twitter.com/RaphaelRau
Instagram: instagram.com/silverwingvfx
Behance: behance.net/silverwing-vfx
TRAINING:
---------------------------------------------------
If you want to learn Shading / OSL, I also offer 1:1 training. Contact me, if you are interested.
VIDEO RELATED LINKS:
---------------------------------------------------
Download the OSL Script "OSL_NormaRotate.osl" from my OSL Repository on Google Drive:
drive.google.com/drive/folders/1kMBFuawY0es5-c0GL28656vB4wstWkzM
OSL Language Specification PDF:
github.com/AcademySoftwareFoundation/OpenShadingLanguage/blob/main/src/doc/osl-languagespec.pdf
Maxons Official Website:
maxon.net
Octane C4D Otoy Official Website:
render.otoy.com/forum/viewforum.php?f=85
Blender Foundations Official Website:
blender.org/download
Blender Octane Otoy Official Website:
render.otoy.com/forum/viewforum.php?f=113
CHAPTERS:
---------------------------------------------------
00:00 Intro
01:09 Overview
04:27 Bonus: Rendering Normals in Octane
05:07 Bonus Bonus: Paralell Perspective
05:30 OSL: Scripting Introduction
06:01 Normal Map: Color Space
06:42 OSL: Add OSL
07:43 OSL: Naming Inputs
08:27 OSL: Preparing Shader
09:31 OSL: Chart Time: Remappig Explained
10:02 OSL: Remapping Texture- to Normal-Space
10:51 OSL: Variables
12:06 OSL: Color / RGB is a Vector
12:28 OSL: Looking at the OSL PDF
13:26 OSL: Applying Turn Function I
14:27 OSL: Explaining Normals and the Rotation Axis
15:42 OSL: Defining a Point Vector
16:26 OSL: Applying Turn Function II
16:43 OSL: Choosing Red Red Element of Angle Map
17:41 OSL: Remapping the Angle
18:13 OSL: 0-1 to 0-360 - Deg to Rad Conversion
19:27 OSL: Change Range Back to 0-1
20:33 Bonus: Node Snapping
21:30 Application: Cube Scene
23:25 Conclusion
MESSAGE:
After the really successful Foam tutorial that you seem to have really liked, this week something smaller but equally nerdy that solves a problem you might not even knew existed. I myself in fact did not know myself until last week when I got the request from Adam Zen to create this shader. Funny thing again the original of this is a blender video that shows how you can do that with Blender nodes in Cycles.
As always I hope you like it and find it useful.
PATREON:
---------------------------------------------------
You can support me and the community by becoming a PATREON.
This helps me to keep all my content free and accessible to everyone.
patreon.com/silverwingvfx
Thank you so much for all my existing PATREONs for your generosity!
FOLLOW ME ON SOCIAL MEDIA:
---------------------------------------------------
Twitter: twitter.com/RaphaelRau
Instagram: instagram.com/silverwingvfx
Behance: behance.net/silverwing-vfx
TRAINING:
---------------------------------------------------
If you want to learn Shading / OSL, I also offer 1:1 training. Contact me, if you are interested.
VIDEO RELATED LINKS:
---------------------------------------------------
Download the OSL Script "OSL_NormaRotate.osl" from my OSL Repository on Google Drive:
drive.google.com/drive/folders/1kMBFuawY0es5-c0GL28656vB4wstWkzM
OSL Language Specification PDF:
github.com/AcademySoftwareFoundation/OpenShadingLanguage/blob/main/src/doc/osl-languagespec.pdf
Maxons Official Website:
maxon.net
Octane C4D Otoy Official Website:
render.otoy.com/forum/viewforum.php?f=85
Blender Foundations Official Website:
blender.org/download
Blender Octane Otoy Official Website:
render.otoy.com/forum/viewforum.php?f=113
CHAPTERS:
---------------------------------------------------
00:00 Intro
01:09 Overview
04:27 Bonus: Rendering Normals in Octane
05:07 Bonus Bonus: Paralell Perspective
05:30 OSL: Scripting Introduction
06:01 Normal Map: Color Space
06:42 OSL: Add OSL
07:43 OSL: Naming Inputs
08:27 OSL: Preparing Shader
09:31 OSL: Chart Time: Remappig Explained
10:02 OSL: Remapping Texture- to Normal-Space
10:51 OSL: Variables
12:06 OSL: Color / RGB is a Vector
12:28 OSL: Looking at the OSL PDF
13:26 OSL: Applying Turn Function I
14:27 OSL: Explaining Normals and the Rotation Axis
15:42 OSL: Defining a Point Vector
16:26 OSL: Applying Turn Function II
16:43 OSL: Choosing Red Red Element of Angle Map
17:41 OSL: Remapping the Angle
18:13 OSL: 0-1 to 0-360 - Deg to Rad Conversion
19:27 OSL: Change Range Back to 0-1
20:33 Bonus: Node Snapping
21:30 Application: Cube Scene
23:25 Conclusion



