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
Ursina is perfect for my use case and provides precisely the simple no-fuss 3d game engine that I need.
However... the shader doesn't work on an M1 mac. I get the error:
:display:gsg:glgsg(error): An error occurred while compiling GLSL vertex shader created-shader: ERROR: created-shader:2: '' : version '140' is not supported :display:gsg:glgsg(error): An error occurred while compiling GLSL fragment shader created-shader: ERROR: created-shader:2: '' : version '140' is not supported
I found out that Panda3d suggests changing the opengl version used with a one-liner:
loadPrcFileData("", "gl-version 3 2")
This works for Panda3d but doing this on Ursina I get:
:display:gsg:glgsg(error): An error occurred while compiling GLSL fragment shader created-shader: ERROR: created-shader:12: Invalid call of undeclared identifier 'texture2D' ERROR: created-shader:14: Use of undeclared identifier 'color' ERROR: created-shader:15: Use of undeclared identifier 'color'
I assume that this is related to the use of version 140 of glgsg but I have very little experience in this area.
I am right at the start of using game engines and have a very simple use case which Ursina fits perfectly. It'd be great to have a simple fix if that is possible rather than learning Panda3d.
The text was updated successfully, but these errors were encountered:
Ursina is perfect for my use case and provides precisely the simple no-fuss 3d game engine that I need.
However... the shader doesn't work on an M1 mac. I get the error:
:display:gsg:glgsg(error): An error occurred while compiling GLSL vertex shader created-shader: ERROR: created-shader:2: '' : version '140' is not supported :display:gsg:glgsg(error): An error occurred while compiling GLSL fragment shader created-shader: ERROR: created-shader:2: '' : version '140' is not supported
I found out that Panda3d suggests changing the opengl version used with a one-liner:
loadPrcFileData("", "gl-version 3 2")
This works for Panda3d but doing this on Ursina I get:
:display:gsg:glgsg(error): An error occurred while compiling GLSL fragment shader created-shader: ERROR: created-shader:12: Invalid call of undeclared identifier 'texture2D' ERROR: created-shader:14: Use of undeclared identifier 'color' ERROR: created-shader:15: Use of undeclared identifier 'color'
I assume that this is related to the use of version 140 of glgsg but I have very little experience in this area.
I am right at the start of using game engines and have a very simple use case which Ursina fits perfectly. It'd be great to have a simple fix if that is possible rather than learning Panda3d.
The text was updated successfully, but these errors were encountered: