Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M #606

Open
gwitchel opened this issue Jan 18, 2025 · 0 comments
Open

M #606

gwitchel opened this issue Jan 18, 2025 · 0 comments

Comments

@gwitchel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant