1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Visual Shader Editing for 2D

Editing 2D shaders with visual editor seems to work now.
This commit is contained in:
Juan Linietsky
2015-01-20 20:25:19 -03:00
parent 79af805710
commit 11c1756257
12 changed files with 137 additions and 29 deletions

View File

@@ -1112,6 +1112,7 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_vertex_builtins_defs[]={
{ "SRC_VERTEX", TYPE_VEC2},
{ "VERTEX", TYPE_VEC2},
{ "WORLD_VERTEX", TYPE_VEC2},
{ "UV", TYPE_VEC2},
{ "COLOR", TYPE_VEC4},
{ "VAR1", TYPE_VEC4},