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

dynamic texture error: File not exists #5

Closed
Time-Coder opened this issue Mar 1, 2024 · 1 comment
Closed

dynamic texture error: File not exists #5

Time-Coder opened this issue Mar 1, 2024 · 1 comment

Comments

@Time-Coder
Copy link
Owner

          > 好的,我知道了,这是一个潜在bug,会影响半透明物体的渲染,下一版会将其修复。

使用动态纹理时的报错,是因为显卡不行导致的吗?
发生异常: CompileError

E:/Program Files/Python312/Lib/site-packages/glass/glsl/shadertoy_template.fs:18: error: File ""E:/100proworld2021/Python2022/AnyCAD-3DUI/GLSLfile/zsq.glsl"" not exists.
File "E:\100proworld2021\Python2022\AnyCAD-3DUI\glass3D.py", line 295, in zhuoseqi_func
box.material.emission_map = "AnyCAD-3DUI\GLSLfile\zsq.glsl"
^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\100proworld2021\Python2022\AnyCAD-3DUI\glass3D.py", line 306, in
zhuoseqi_func()
glass.GPUProgram.CompileError:
E:/Program Files/Python312/Lib/site-packages/glass/glsl/shadertoy_template.fs:18: error: File ""E:/100proworld2021/Python2022/AnyCAD-3DUI/GLSLfile/zsq.glsl"" not exists.
这个报错说文件不存在,但这个文件是存在的,内容是按照你说的,从shadertoy网站复制的一个动态纹理,然后复制保存到本地一个文件,格式为glsl,但是按照你给的动态纹理示例程序运行后出现了上面的错误

Originally posted by @rongjv in #3 (comment)

@Time-Coder
Copy link
Owner Author

v0.1.54 fix this bug

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