Advertisement

How many 'Lights' can I use in OpenGL...?

Started by November 28, 2000 08:18 PM
4 comments, last by potluck 23 years, 11 months ago
My question is Lighting... How many Lights can I use..in OpenGL...?
^^L
I''m not sure what the maximum is but I know that it is atleast 8.

______________
Martin Estevao
lpSoftware
______________Martin EstevaolpSoftware
Advertisement
an opengl driver must be able to handle at least 8 lights (no maximum) but it really starts hitting your framerate (at least on my card) when u have more than 3 enabled , my suggestion is for each poly/object just enable the closest/most important 3 lights. the others will make harly any negliale difference to the objects appearence but will impact your rendering speed quite a bit

http://members.xoom.com/myBollux
... unless your using a GeForce

(I love my graphics card)

Anyways, The best way for anything non-demo is to have an option like, ''number of lights per surface''.

Or you could do your lighting some other way, like textures (sorry forgot its propper name)

ANDREW RUSSELL STUDIOS
Web site coming soon...
maximum of 8 lights. there are easy eays around this however.

JoeMont001@aol.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
"Or you could do your lighting some other way, like textures (sorry forgot its propper name)"

Lightmaps

This topic is closed to new replies.

Advertisement