Jump to content
Posted 14 May 2011 - 12:07 AM
Posted 14 May 2011 - 03:47 AM
Posted 14 May 2011 - 05:45 PM
| W | | A | point ligh | L | object <--- Camera looking behind the wall | L |
If I understood what you are asking Im guessing you are a beginner in DirectX...
(Unless you are using a raytracer) Simple lighting shaders dont take into account if an object is occluded or not... They simply calculate the influence of a light in a object based on the view point, etc.
To do what you want to accomplish you must implement shadow mapping, but it might be "too advanced" for you, idk take a look at the link and google. If you have any question just ask
Posted 15 May 2011 - 03:16 AM