mat4 uniform

onkelsteffionkelsteffi Posts: 2Member

Hi godot chefs,
a quick question please:
How would i pass a 4x4 matrix as a uniform to a spatial vertex shader?
Just wondering, because i did not find out how to put a 4x4 matrix into a Variant.
Thank you for your help!!,


  • memermemer Posts: 39Member
    Answer ✓

    I think Transform becomes a mat4 in the shader.

Sign In or Register to comment.