Skip to content Skip to sidebar Skip to footer

Opengl Es: Render To Texture Via Frame Buffer Is Rendering Only One Color

am trying to implement a motion blur effect in my android game. After a lot of research I found that the best way to do that is to save the previous frame as a texture using the Fr

Solution 1:

try to replace

gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE,GL10.GL_MODULATE); 

with

gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE,GL10.GL_REPLACE); 

Post a Comment for "Opengl Es: Render To Texture Via Frame Buffer Is Rendering Only One Color"