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,
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
2 matches
Mail list logo