AdamSloan95 / Video_Game_Engine

A video Game Engine build in Java using LWJGL
0 stars 0 forks source link

GLSL texture issue #21

Open AdamSloan95 opened 4 months ago

AdamSloan95 commented 4 months ago

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 3 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable

This error is thrown when running code. I have done some research and there are repeated references to do with mac silicon being the issue. I haven't seen an obvious fix as of yet - there were some mentions of glsl not being able to cast from float to int .

Links:

https://github.com/korlibs/korge/issues/411 https://www.reddit.com/r/opengl/comments/oajjti/opengl_error_possibly_caused_by_m1_macs_having_a/ https://community.monogame.net/t/apple-silicon-m2-unit-0-gld-texture-index-2d-is-unloadable-shader-renders-black/18605

The test textures are rendering so I'm not sure this issue will be a real problem but as I need to render more than two textures hopefully this will become clearer.

AdamSloan95 commented 4 months ago

https://forums.developer.apple.com/forums/thread/683865