[Bf-cycles] Could OSL be used to bake lightmaps?

Sinan Hassani sinan.hassani at gmail.com
Wed Oct 30 01:45:37 CET 2013


This is just a question on whether this is possible.

If the ability of writing to file (or writing to texture) is added to 
OSL, this will enable developers and scripters to create their own OSL 
scripts to bake lightmaps. For certain things, you can of course still 
use BI (like baking normal maps), but for other things like AO, there is 
like 3-4 different methods for baking. So this would give a new powerful 
way to bake lightmaps and the baking would make use of Cycles.

Is such functionality possible with OSL? If not, is it easy to implement?


More information about the Bf-cycles mailing list