mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-09-19 11:56:01 +08:00
512 B
512 B
Mesh node
Provides accees to node's position and scale in world space.
Outputs
Name | Type | Binding | Description |
---|---|---|---|
position | vec3 | None | Node/object position in world space |
scale | vec3 | None | Node/object scale in world space |
ShaderInc location
res://addons/ShaderLib/Geometry/Geometry.gdshaderinc
Method signature
vec3 geometry_node_scale_world(mat4 model_matrix)
Parameters
Name | Type | Description |
---|---|---|
model_matrix | mat4 | Model matrix of the mesh |