Author Topic: badspot y u no increase render distance of lights???  (Read 3633 times)

The problem is that we're using OpenGL lighting which is slow and inefficient. The best solution would be to use a different lighting method all together.

Couldn't you edit the glsl shader file once to have more?

I remember someone bringing this up once

The problem is that we're using OpenGL lighting which is slow and inefficient. The best solution would be to use a different lighting method all together.
Would this mean less stufftier shadows?

Would this mean less stufftier shadows?
And better performance, most likely.

You guys need to realize Badspot knows what he's doing, he wouldn't have used GLSL if he knew another method would perform in a better way.  Switching our lighting would literally just be going back and redoing something that was done right the first time, not being able to render more than 8 lights at a time isn't a huge deal unless you're playing a large city map or something.

My only question is, if the sun flare doesn't count as a light then why can't we create the same light on bricks, therefore avoiding the limit?

because lights are lights and flares are flares, and the "sun" is just a flare representing the global lighting

The problem is that we're using OpenGL lighting which is slow and inefficient. The best solution would be to use a different lighting method all together.
dx11 pls


so wait

would it just be possible to like duplicate that code 20 times and then

Couldn't you edit the glsl shader file once to have more?

I remember someone bringing this up once

no, because it uses uniforms given by the engine

dx11 pls
I thought dx11 had a light limit also. Either way then you lose support for Mac and Linux.

I thought dx11 had a light limit also. Either way then you lose support for Mac and Linux.
linux sucks anyway and who would use a mac for gaming??

this loving engine lol
Actually it's an openGL thing. AFAIK it's even deeper than that.

linux sucks anyway and who would use a mac for gaming??
The stereotypes of the OSs. I could babble again like I did to someone before who said linux sucks but in just going to give you this http://www.comparebusinessproducts.com/fyi/50-places-linux-running-you-might-not-expect

The stereotypes of the OSs. I could babble again like I did to someone before who said linux sucks but in just going to give you this http://www.comparebusinessproducts.com/fyi/50-places-linux-running-you-might-not-expect
Those people just don't have the money to buy 20000 windows licenses

Linux might be great for servers and customization, but it has no place on a gaming computer

Those people just don't have the money to buy 20000 windows licenses

Linux might be great for servers and customization, but it has no place on a gaming computer
Ahh now you are being specific, for gaming it sucks sure it pretty much does right now but just because of that doesn't make the entire thing "suck". Those people also aren't poor (I didn't know the US federal courts or federal aviation were considered poor) the majority of those 50 places run Red Hat Enterprise Linx which the cheapest price is $350 a year I believe. Other distros such as SUSE enterprise also cost some money. It is indeed still cheaper than Windows but isn't the point of anything nowdays is to save money?

Anyways back ontopic now.