Subtractive blending?

Started by Overkill, June 06, 2006, 22:04:20

Previous topic - Next topic

Overkill

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?

spasi

EXT_blend_subtract is available in LWJGL and it's also in core OpenGL since version 1.2 (in ARB_imaging).

Overkill

Nice. Thanks, this is helpful.