SkillAgentSearch skills...

NishitaSky

An OSL Shader based on Nishitas atmospheric scattering model: https://www.scratchapixel.com/lessons/procedural-generation-virtual-worlds/simulating-sky

Install / Use

/learn @BenSimonds/NishitaSky
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

gif

About

NishitaAtmos.osl is an osl shader for rendering a sky based on Nishita's paper in 1993 entitled "Display of the Earth Taking into account Atmospheric Scattering". It's mostly written based on the following article: https://www.scratchapixel.com/lessons/procedural-generation-virtual-worlds/simulating-sky

For some example renders, see: http://bensimonds.com/2014/10/02/atmospheric-rendering-with-osl/

Usage

  • Import text into blender.
  • Enable Open Shading Language from render options.
  • Use as OSL shader from script node.

To do list

<del> Sun still lights sky when below horizon. Need to track down why this is and fix it. </del> Fixed!

Related Skills

View on GitHub
GitHub Stars64
CategoryDevelopment
Updated4mo ago
Forks13

Security Score

77/100

Audited on Dec 5, 2025

No findings