You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on the shader code:
MODELVIEW_MATRIX = INV_CAMERA_MATRIX * mat4(CAMERA_MATRIX[0],WORLD_MATRIX[1],vec4(normalize(cross(CAMERA_MATRIX[0].xyz,WORLD_MATRIX[1].xyz)), 0.0),WORLD_MATRIX[3]);
INV_CAMERA_MATRIX returns a error :
error(19): Unknown identifier in expression: 'INV_CAMERA_MATRIX'.
Godot version
4.0 alpha 7
System information
ubuntu 21.10
Issue description
on the shader code:
MODELVIEW_MATRIX = INV_CAMERA_MATRIX * mat4(CAMERA_MATRIX[0],WORLD_MATRIX[1],vec4(normalize(cross(CAMERA_MATRIX[0].xyz,WORLD_MATRIX[1].xyz)), 0.0),WORLD_MATRIX[3]);
INV_CAMERA_MATRIX returns a error :
error(19): Unknown identifier in expression: 'INV_CAMERA_MATRIX'.
Steps to reproduce
just try to use the shader I upload below.
Minimal reproduction project
grass.gdshader.zip
The text was updated successfully, but these errors were encountered: