mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 18:11:13 +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:
parent
b2f9acb8c9
commit
b54d96ceba
5 changed files with 143 additions and 114 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue