-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
This file doesn't work. I assume I got everything properly installed since other Test files work fine.
I copy the error Traceback:
Traceback (most recent call last):
File "TestShadows.py", line 94, in <module>
TestShadows().run()
File "/home/goferito/three.py/three.py/core/Base.py", line 51, in run
self.initialize()
File "TestShadows.py", line 36, in initialize
directionalLight.enableShadows(strength=0.5)
File "/home/goferito/three.py/three.py/lights/DirectionalLight.py", line 70, in enableShadows
self.shadowRenderTarget = RenderTarget.RenderTarget( size[0], size[1] )
File "/home/goferito/three.py/three.py/core/RenderTarget.py", line 33, in __init__
glFramebufferTexture(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, self.textureID, 0)
File "/usr/local/lib/python3.6/dist-packages/OpenGL/platform/baseplatform.py", line 402, in __call__
return self( *args, **named )
File "/usr/local/lib/python3.6/dist-packages/OpenGL/error.py", line 232, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glFramebufferTexture,
cArguments = (
GL_FRAMEBUFFER,
GL_COLOR_ATTACHMENT0,
1,
0,
)
)
Metadata
Metadata
Assignees
Labels
No labels