Oleg Kobchenko wrote:
> The OpenGL Intro demo says colors are 0..1,
> but in reality they can also be 0..255.

Colors are 0..1 in opengl.  (This allows the leading
n bits to be used, where n depends on implementation
and on other context).

Colors seem to be 0..255 in gl2

Some of the opengl wrappers transparently support either
format.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to