This add-on brings colored lights to MCPE 1.18.12 by using custom deferred rendering pipeline.
The following conditions has to be met in order to use this add-on
GL_ARM_shader_framebuffer_fetch_depth_stencil
and either GL_EXT_shader_framebuffer_fetch
or GL_ARM_shader_framebuffer_fetch
GLSL extensions
Note: light sources can only store colors in 0 - 4095 range, as integers
deferred:add_light
deferred:remove_light
deferred:color_randomizer
deferred:fog_toggle
deferred:shadow_toggle
.help
displays help message.col
gets the closest light source color.col 100 200 300
sets the closest light source color to RGB = [100, 200, 300].pow 1.5
multiplies the closest light source color/brightness by 1.5.add 100 0 -200
adds 100 red, 0 green and subtracts 200 blue from the closest light source color.mov
allows to move closest light sourcedeferred:point_light
entitiesr
, g
and b
scoreboardsdeferred:fog
tagdeferred:shadow
tagdeferred:sync
event must be used to synchronize the changesdeferred:despawn
event has to be used to remove light sources, since they're invulnerable otherwise (even to /kill
)deferred:random_color
event randomizes colordeferred:switch_fog
event toggles fog On and Offdeferred:switch_shadow
event toggles shadow On and OffHover over a screenshot to see which map was used, click on it to get to the download page