emissive

abstract MaterialFinder emissive(int spriteIndex, boolean isEmissive)

When true, sprite texture and color will be rendered at full brightness.Lightmap values provided via lightmap will be ignored.False by default

This is the preferred method for emissive lighting effects. Some rendererswith advanced lighting models may not use block lightmaps and this method willallow per-sprite emissive lighting in future extensions that support overlay sprites.

Note that color will still be modified by diffuse shading and ambient occlusion,unless disabled via disableAo and disableDiffuse.

Sources

jvm source
Link copied to clipboard