tangent-opensource / blender

Tangent Animation's Blender Fork | More information ->
https://github.com/tangent-devops/tangent-blender/wiki
Other
9 stars 6 forks source link

When exporting lights, CreateNormalizeAttr() and set it to true. #37

Open philip-luk-tangent-anim opened 3 years ago

philip-luk-tangent-anim commented 3 years ago

This is so that exported lights from Blender will match when rendered externally with hdBlackbird, with no edits.

A normalize toggle was added to hdBlackbird: https://github.com/tangent-opensource/hdBlackbird/pull/144

However, since they are normalized in Blender/Cycles, the resulting render with no edits to the lights in hdBlackbird will mismatch without exporting the normalize attribute.