You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Added ability to write directly to 4-dimensional position vector from within custom vertex shader code. Bugfixes to shader graph code generation concerning xforms.
This commit is contained in:
@@ -1043,6 +1043,7 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::vertex_builtins_defs[]={
|
||||
{ "SRC_TANGENT", TYPE_VEC3},
|
||||
{ "SRC_BINORMALF", TYPE_FLOAT},
|
||||
|
||||
{ "POSITION", TYPE_VEC4 },
|
||||
{ "VERTEX", TYPE_VEC3},
|
||||
{ "NORMAL", TYPE_VEC3},
|
||||
{ "TANGENT", TYPE_VEC3},
|
||||
|
||||
Reference in New Issue
Block a user