Open texture from fragment shader

72 Views Asked by At

I'm trying to write a shader for Minecraft bedrock edition, and since I don't have access to the code of the game, just the GLSLes shaders, I was wondering if there was any way for me to access a texture from the fragment shader without having to pass it through the c++ code.

1

There are 1 best solutions below

0
AudioBubble On BEST ANSWER

The answer is as stated in the comments above : there's no way. GLSL doesn't work this way.