Skip to main content

Kanikama Unity Light Mesh

Inherits from Kanikama Light Source.

Attach a Kanikama Unity Light Mesh component to a Renderer with emissive material updated at runtime.

PropertyFunction
RendererSpecify the renderer with emissive material, attached to the same Game Object.
Material IndexThe index of the emissive material in the material slots.
Property NameThe property name of the emission color.
Use Standard ShaderIf checked, Kanikama will create a material with Standard shader and use it when baking lightmaps. Enable this when colors are updated by Animator.
Use Material Property BlockIf check, Kanikama reads colors via a Material Property Block. If not checked, Kanikama reads color via Renderer.materials.