mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Finish fix for POSITION in 2D shaders
This commit is contained in:
parent
6a62831195
commit
1e79f80b90
2 changed files with 4 additions and 5 deletions
|
|
@ -1153,7 +1153,7 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_vertex_builtins_defs[]={
|
|||
const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_fragment_builtins_defs[]={
|
||||
|
||||
{ "SRC_COLOR", TYPE_VEC4},
|
||||
{ "POSITION", TYPE_VEC4},
|
||||
{ "POSITION", TYPE_VEC2},
|
||||
{ "NORMAL", TYPE_VEC3},
|
||||
{ "NORMALMAP", TYPE_VEC3},
|
||||
{ "NORMALMAP_DEPTH", TYPE_FLOAT},
|
||||
|
|
@ -1175,7 +1175,7 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_fragment_builtins_defs[]={
|
|||
|
||||
const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_light_builtins_defs[]={
|
||||
|
||||
{ "POSITION", TYPE_VEC4},
|
||||
{ "POSITION", TYPE_VEC2},
|
||||
{ "NORMAL", TYPE_VEC3},
|
||||
{ "UV", TYPE_VEC2},
|
||||
{ "COLOR", TYPE_VEC4},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue