Added Alpha Layer support and Additional Attachments, plus I reverted my
localhost on outgoing log hack and added the original values back in.
This commit is contained in:
@@ -799,6 +799,9 @@ void LLRender::setSceneBlendType(eBlendType type)
|
||||
case BT_MULT:
|
||||
glBlendFunc(GL_DST_COLOR, GL_ZERO);
|
||||
break;
|
||||
case BT_MULT_ALPHA:
|
||||
glBlendFunc(GL_DST_ALPHA, GL_ZERO);
|
||||
break;
|
||||
case BT_MULT_X2:
|
||||
glBlendFunc(GL_DST_COLOR, GL_SRC_COLOR);
|
||||
break;
|
||||
|
||||
@@ -252,6 +252,7 @@ public:
|
||||
BT_ADD,
|
||||
BT_ADD_WITH_ALPHA, // Additive blend modulated by the fragment's alpha.
|
||||
BT_MULT,
|
||||
BT_MULT_ALPHA,
|
||||
BT_MULT_X2,
|
||||
BT_REPLACE
|
||||
} eBlendType;
|
||||
|
||||
Reference in New Issue
Block a user