Skip to main content
3 of 3
typo
Daniel
  • 3.6k
  • 4
  • 32
  • 60

OSL and raytracing

I don't know much about the Open Shading Language, but I need to know if it can do a few things before I decide to spend the time to learn it.

  1. Can OSL manipulate rays that hit surfaces? Such as: change ray colors, reflect, refract, delete it
  1. Can it also get ray data? Such as: where it came from, its source, direction, and intensity.
  2. Can it emit rays from a surface? I know that the default Cycles emission shader is written in SVM, but would it be possible make a similar shader in OSL?
Daniel
  • 3.6k
  • 4
  • 32
  • 60