PDA

View Full Version : Texture Lightcones and Blending



xindon
07-03-2006, 10:54 PM
Hey,

I'm just writing a Quake 3 .bsp loader in Java. It works quite well, but I've got some problems with the "lighting", actually blending.

Here are two screenshots:
1) Quake:
http://bloody-blades.de/images/transparencyQuake3.jpg

2) My loader:
http://bloody-blades.de/images/transparencyLoader.jpg

So my question, how did they solve this in Quake 3 Arena ?

Probably blending? But how to do it correctly?

Thank you very much

skynet
07-04-2006, 01:06 AM
The cones usually use additive blending. You have to write a parser for the .shader files in order to fully support such things.