LWJGL Forum

Programming => OpenGL => Topic started by: Overkill on June 06, 2006, 22:04:20

Title: Subtractive blending?
Post by: Overkill on June 06, 2006, 22:04:20
Is it possible to utilize the subtractive blending extension to OpenGL with LWJGL programs? I can't seem to find it in the java docs. I just figure it'd be useful to have, y'know, having additive and alpha blending available. Especially for something like two-dimensional lighting or shadows. If it isn't available, anyone know a good workaround?
Title: Subtractive blending?
Post by: spasi on June 07, 2006, 10:07:41
EXT_blend_subtract is available in LWJGL and it's also in core OpenGL since version 1.2 (in ARB_imaging).
Title: Subtractive blending?
Post by: Overkill on June 07, 2006, 11:23:34
Nice. Thanks, this is helpful.