Skip to main content
2 of 3
deleted 5 characters in body
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 SVN, but would it be possible make a similar shader in OSL?
Daniel
  • 3.6k
  • 4
  • 32
  • 60