Sam Kovalev
03-30-2005, 06:07 PM
I have 3 questions:
1.I have more than a single one light source. How to enable real look-like overlapping between shadows casting from different light sources.Maybe using glBlendFunc()?
(By the way how to make shadows from transparent objects)
2.Sometimes i am using stencil buffer for creating pseudo lighting from a spot light. How to make it to be attenuated?
3.I am also creating a dust effect room simply by drawing clipping volume from a lamp(pseudo light),but this volume goes through the different objects.How to stop the volume when it crosses another object.Maybe Depth Buffer can help?
1.I have more than a single one light source. How to enable real look-like overlapping between shadows casting from different light sources.Maybe using glBlendFunc()?
(By the way how to make shadows from transparent objects)
2.Sometimes i am using stencil buffer for creating pseudo lighting from a spot light. How to make it to be attenuated?
3.I am also creating a dust effect room simply by drawing clipping volume from a lamp(pseudo light),but this volume goes through the different objects.How to stop the volume when it crosses another object.Maybe Depth Buffer can help?