glsl 'problem'

BlitzMax Forums/BlitzMax OpenGL Programming/glsl 'problem'

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,

Haven't played with glsl for a while, but I think the idea is to find the 'index' of the shader sampler by name, and then use SetShaderConstInt or whatever it is with the texture unit the texture is bound to.