oreon-engine
oreon-engine copied to clipboard
shader related issue on Radeon™ Vega 8 Graphics
I am running an ubuntu-based distro, and getting this error:
Same with me. Any workarounds?
@ThanosFisherman The error is thrown on glsl compilation. This is the error if you pass a bool to a shader, but as far as I can see 0 or 1 is passed.
This is hard to debug. Maybe you can tweak some values passed by using constants. Or just comment some suspicious lines out in https://github.com/fynnfluegge/oreon-engine/blob/main/oreonengine/oe-gl-deferred/src/main/java/org/oreon/gl/engine/deferred/DeferredLightingShader.java to get closer to the cause.
hi @fynnfluegge
I wasn't able to figure it out. I commented out everything from DeferredLightingShader
class and then I got an error from TerrainShader. It looks like a domino effect
org.oreon.gl.components.terrain.shader.TerrainShader 0:44(51): error: is is not allowed on function parameter
Thanks for helping out though.