Re: [hlcoders] Shader question

2005-06-05 Thread Ignacio Martín
Well I hope I have understood your question. You have to bind the texture you copied from the frame buffer (the current rendered view) to a texture unit with pShaderAPI-BindFBTexture( SHADER_TEXTURE_STAGE0 ); You have to bind the other textures with BindTexture( SHADER_TEXTURE_STAGE0, BASETEXTURE,

[hlcoders] Shader question

2005-06-04 Thread r00t 3:16
The shader I made uses 2 textures in the program im using to create the shader. I am having a hard time figure out however how to implement this shader into the game. Texture0 in my shader needs to be the view of the player Texture1 is my other texture I need which isn't the problem. How do I