[Bf-cycles] Could OSL be used to bake lightmaps?
sinan.hassani at gmail.com
Wed Oct 30 17:26:09 CET 2013
Okay, this makes a lot of sense.
Thanks for the explanation.
On 13-10-30 09:22 AM, Brecht Van Lommel wrote:
> It's not impossible but it's not a good fit. You need to add quite a
> bit of higher level logic to rasterize the geometry with a UV map,
> deal with margins, bake high to low poly, etc. Also in general OSL
> shaders do not actually know much about the type of value that you
> would bake into a lightmap. These shaders describe the behavior of
> materials or lights, but leave the computation of the final shaded
> results to the render engine.
More information about the Bf-cycles