1
0
mirror of https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git synced 2025-09-20 04:15:58 +08:00
Files
Godot-Shader-Lib/documentation/Nodes/Geometry/Mesh.md
2024-07-21 16:39:45 +05:30

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