Hey, Community I have always been wondering if its possible to compile a shader to multiple images at once aka "textures" with OpenGL.
If So How would one do this I had a friend that showed me an example on how he did it but he never told me how he did it and that's been like 2 years ago and I am not friends with him anymore tho does anyone have the answer to this question?
OpenGL: How to compile a shader to multiple images at once
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: OpenGL: How to compile a shader to multiple images at on
Could you give more detail about what you're specifically going for?
Re: OpenGL: How to compile a shader to multiple images at on
I want to be able to apply a shader "example.fx" to all textures in my directory like for example "B:\textures"
I know how to compile a shader to 1 texture from a simple shader ".fx" file but how to compile 1 shader ".fx" file to all my textures at once like a batch editor would do for images.
I know how to compile a shader to 1 texture from a simple shader ".fx" file but how to compile 1 shader ".fx" file to all my textures at once like a batch editor would do for images.
Re: OpenGL: How to compile a shader to multiple images at on
One might be able to do this with DirectX instead of OpenGL I know how to do it in DirectX for sure but only 1 texture, not multiple textures at once.