mirror of https://github.com/H-uru/korman.git
Browse Source
Due to our disabling of texture baking when lightmapping, Blender would not be able to cast light through transparent materials. Now, we revert back to something resembling the manual method of lightmapping from the bad old days of PyPRP. Do note that because we attempt to batch object baking as much as possible, I have disabled baking lightmaps to transparent objects. This is because the transparent objects would need its textures disabled for it to be baked to, but with the textures disabled, the renderer would be unable to correctly determine the object's transparency. D'oh! It would be possible, I suppose, to move them into their own batch, but that makes the state machine a bit more complex. It would be better to wait for someone to need that functionality, I think.pull/103/head
Adam Johnson
6 years ago
3 changed files with 35 additions and 15 deletions
Loading…
Reference in new issue