Enigma Agency: The Case of Shadows Game
|
Top 10 DownloadsLatest Games
Enchanted Kingdom: Fiend of Darkness Collector's Edition
Dark Romance: A Performance to Die For ClearIt 3 Beyond: The Fading Signal Collector's Edition Moai VI: Unexpected Guests Travel Mosaics 3: Tokyo Animated Quadrium 2 Wizard's Quest: Adventure in the Kingdom Kingmaker: Rise to the Throne Collector's Edition Hidden Expedition: The Altar of Lies Grim Tales: The Hunger Way to Go! Storm Tale Myths of the World: Fire from the Deep Collector's Edition Katy and Bob: Cake Cafe Collector's Edition Get more of ChocoSnow.com ![]() ![]() ![]() |
Game Comments![]() Pauloeanizia, Tuesday, 16th of July 2013, 01:34 PM, #1 Yes, I'm aware of Manders' technique. I tuhgoh hard about doing all those computations on the GPU myself, but there is a big difference between our samples.He only has lines for which to draw shadows, while I have polygons with arbitrary number of edges. For a line, no matter of the light's position relative to it, the shadow always has the same shape. This is not so for a polygon, and depends both on the shape of the polygon and on the position of the light. One way to do this would be to draw the shadow volumes for each edge of the polygon, in the same way as Manders draws shadows for his lines, but depending on the level of detail of that polygon, this could result in a great number of Draw calls (order of tens), as opposed to a single Draw call for the whole object's shadow, as it happens now. These add up, and may actually hurt performance more than benefit it.This is one area where DirectX10 geometry shaders would come in handy, as they could be used to generate the shadow's geometry on the GPU, for any convex shape imaginable. But since XNA is DX9 only, for now I'll have to stick to doing all this on the CPU.One other idea would be to move these computations on another thread, and use multi-threading, but this is dangerous territory as well. Post comment (Sign in):
|
Casual Games for PC |
Casual Games for Mac |
Online Games Links Old games genres: Puzzle | Arkanoid | Arcade | Pacman/Digger Strategy/Sim | Shooter | Drive/Fly | Sport | Words | MahJong | Cards/Board |
© 2003-2021 ChocoSnow.com - Download Enigma Agency: The Case of Shadows Game |