You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Changes to Light
-=-=-=-=-=-=-=-= -Changed material unshaded property for an enum, which supports light-only shading -Added a "Mix" shading mode, useful for using lights as masks -Added energy parameter to Light2D
This commit is contained in:
@@ -1171,7 +1171,9 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_light_builtins_defs[]={
|
||||
{ "LIGHT_VEC", TYPE_VEC2},
|
||||
{ "LIGHT_HEIGHT", TYPE_FLOAT},
|
||||
{ "LIGHT_COLOR", TYPE_VEC4},
|
||||
{ "LIGHT_UV", TYPE_VEC2},
|
||||
{ "LIGHT", TYPE_VEC4},
|
||||
{ "SHADOW", TYPE_VEC4},
|
||||
{ "POINT_COORD", TYPE_VEC2},
|
||||
// { "SCREEN_POS", TYPE_VEC2},
|
||||
// { "SCREEN_TEXEL_SIZE", TYPE_VEC2},
|
||||
|
||||
Reference in New Issue
Block a user