The only one I could be sure (according what I found out in PSPGL) is the following two :
Code: Select all
(1.0 x Cd + 1.0 x Cs) :
glBlendFunc(GL_ONE,GL_ONE);
glBlendEquationEXT(GL_FUNC_ADD_EXT);
--->
sceGuBlendFunc(GU_ADD, GU_FIX, GU_FIX, 0xffffff, 0xffffff);
Code: Select all
(1.0 x Cd - 1.0 x Cs) :
glBlendFunc(GL_ONE,GL_ONE);
glBlendEquationEXT(GL_FUNC_REVERSE_SUBTRACT_EXT);
--->
sceGuBlendFunc(GU_REVERSE_SUBTRACT, GU_FIX, GU_FIX, 0xffffff, 0xffffff);
there are other two I dunno how to translate :
Code: Select all
(0.5 x Cs + 0.5 x Cd) :
glBlendColorEXT(0.0,0.0,0.0,0.5);
glBlendFunc(GL_CONSTANT_ALPHA,GL_CONSTANT_ALPHA);
glBlendEquationEXT(GL_FUNC_ADD_EXT);
--->
sceGuBlendFunc(GU_ADD, ?, ?, ?, ?);
Code: Select all
(1.0 x Cd + 0.25 x Cs) :
glBlendColorEXT(0.0,0.0,0.0,0.5);
glBlendFunc(GL_CONSTANT_ALPHA,GL_ONE);
glBlendEquationEXT(GL_FUNC_ADD_EXT);
--->
sceGuBlendFunc(GU_ADD, ?, GU_FIX, ?, 0xffffff);