Open J-K-Tech opened 2 years ago
Invalid type 'mat4' used for assignment.
If you are using DirectX/HLSL, you might want to replace mat4
with float4x4
. See https://docs.microsoft.com/en-us/windows/uwp/gaming/glsl-to-hlsl-reference#porting-glsl-types-to-hlsl
how do i choose glsl version without getting
Unexpected token after preprocessor, expected newline
error?
Internally, the shader code is substituted into this template, which means your GLSL version doesn't actually end up at the top of the resulting file.
Invalid type 'mat4' used for assignment. it seems that it cant read mat4... and how do i choose glsl version without getting
Unexpected token after preprocessor, expected newline
error?