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
For ext/pyrender/renderer.py the lines 1098 ish ->
if flags & RenderFlags.SHADOWS_DIRECTIONAL:
defines["DIRECTIONAL_LIGHT_SHADOWS"] = 1
if flags & RenderFlags.SHADOWS_SPOT:
defines["SPOT_LIGHT_SHADOWS"] = 1
if flags & RenderFlags.SHADOWS_POINT:
defines["POINT_LIGHT_SHADOWS"] = 1
causes an OpenGL error:
File "/opt/anaconda3/envs/diff-phys-10/lib/python3.10/site-packages/OpenGL/GL/shaders.py", line 105, in check_validate
raise RuntimeError(
RuntimeError: Validation failure (0): b"Validation Failed: Sampler error:\n Samplers of different types use the same texture image unit.\n - or -\n A sampler's texture unit is out of range (greater than max allowed or negative).\n"
When workin on a Mac M1 Chip
The text was updated successfully, but these errors were encountered:
For ext/pyrender/renderer.py the lines 1098 ish ->
if flags & RenderFlags.SHADOWS_DIRECTIONAL:
defines["DIRECTIONAL_LIGHT_SHADOWS"] = 1
if flags & RenderFlags.SHADOWS_SPOT:
defines["SPOT_LIGHT_SHADOWS"] = 1
if flags & RenderFlags.SHADOWS_POINT:
defines["POINT_LIGHT_SHADOWS"] = 1
causes an OpenGL error:
File "/opt/anaconda3/envs/diff-phys-10/lib/python3.10/site-packages/OpenGL/GL/shaders.py", line 105, in check_validate
raise RuntimeError(
RuntimeError: Validation failure (0): b"Validation Failed: Sampler error:\n Samplers of different types use the same texture image unit.\n - or -\n A sampler's texture unit is out of range (greater than max allowed or negative).\n"
When workin on a Mac M1 Chip
The text was updated successfully, but these errors were encountered: