Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualHodgman

Posted 31 October 2012 - 06:40 AM

Sorry, I typed it up wrong. Edited my post.

The code would be something like:
BlendColor( 0, 0, 0, specPow );//N.B. 0-1 range
BlendFuncSeparate( SRC_ALPHA, ONE_MINUS_SRC_ALPHA, CONSTANT_ALPHA, ONE_MINUS_SRC_ALPHA );
BlendEquationSeparate( FUNC_ADD, FUNC_ADD );

#3Hodgman

Posted 31 October 2012 - 06:35 AM

Sorry, I typed it up wrong. Edited my post.

The code would be something like:
BlendColor( 0, 0, 0, specPow );
BlendFuncSeparate( SRC_ALPHA, ONE_MINUS_SRC_ALPHA, CONSTANT_ALPHA, ONE_MINUS_SRC_ALPHA );
BlendEquationSeparate( FUNC_ADD, FUNC_ADD );

#2Hodgman

Posted 31 October 2012 - 06:34 AM

Sorry, I typed it up wrong. Edited my post.

The code would be something like:
BlendColor( 0, 0, 0, specPow );
BlendFuncSeparate( SRC_ALPHA, ONE_MINUS_SRC_ALPHA, CONSTANT_ALPHA, ONE_MINUS_SRC_ALPHA );

#1Hodgman

Posted 31 October 2012 - 06:30 AM

Sorry, I typed it up wrong. Edited my post.

PARTNERS