Logo
Toggle Menu
  • home
  • blog
  • about
    • about this site
    • contact
    • privacy policy
  • cinema 4d
    • plugins
    • creating c4d plugins
    • plugin cookbook
    • software
  • models
    • nodes
    • plants 1
    • other models - 1
    • other models - 2
  • osl
    • writing osl shaders
    • osl shaders for download
  • x-particles
    • book

Shader writing with OSL - 3

In blog articles from last year, I looked at writing shaders in Open Shading Language (OSL), which is supported by Redshift. Having spent some time looking at this, it turns out not to be quite as simple as it first looks. This is mainly due to the fact that different render engines implement OSL in slightly different ways, so that converting shaders from one engine to another isn't always straightforward.

For this reason, I'm starting a section on this site devoted to OSL shaders, specifically with Redshift for Cinema 4D in mind. The first part is an introduction, and the second part will feature some of the pitfalls and gotchas you can encounter when using OSL. These are all issues I've encountered and it might at least save anyone thinking of having a go at OSL shader writing some time and frustration.

Along the way I will also make some shaders available for download. Mostly, these will be conversions of shaders written for other render engines, but may include some original ones as well.

I hope this will be useful. At the very least, I find personally that writing something down makes it much easier to remember it, rather than just reading about it. Not as good as actually doing it, but a good foundation.

The first two parts of this sections are now available - see here for links to the respective pages.

Page last updated July 11th 2025

Blog articles

World Creator 2025.1 (October 10th 2025)

So that was Cinema R2026? (September 19th 2025)

How to browse 3D assets (August 24th 2025)

Using Unity assets in Cinema 4D (August 15th 2025)

Plant Factory->Cinema 4D->World Creator (August 12th 2025)

Viewing glTF files (August 9th 2025)

Tessellation part 2 (August 5th 2025)

Shader writing with OSL - 3 (July 11th 2025)

Tessellation (June 23rd 2025)

Creating plants for C4D (June 15th 2025)

Adobe alternatives (May 28th 2025)

Using Graswald assets in C4D (May 7th 2025)

Which Mac for plugin development? (May 3rd 2025)

Why do plugin writers do it? (April 11th 2025)

Updating StarScape (February 26th 2025)

Using Cinema 4D shaders in Redshift (January 31st 2025)

PHP and MySQL (December 19th 2024)

Shader writing with OSL - 2 (November 11th 2024)

Shader writing with OSL (October 29th 2024)

StarScape (September 25th 2024)

Converting plugins from C4D 2024 to 2025 (September 16th 2024)

Cinema 4D 2025 and macOS plugins (September 15th 2025)

© 2021-2025 Microbion. All Rights Reserved.