Suggestion for a second shadow system

Suggestion for a second shadow system

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderators: Moderators, Moderators

Post Reply
Gunthahaha
Posts: 25
Joined: 26 Jul 2005, 11:37

Suggestion for a second shadow system

Post by Gunthahaha »

Hi

In another free RTS called Glest, there are two different shadow systems: Projected or Shadowmaps.
Image
I know Shadowmaps don't work because of my graphic card, so is it possible to do Projected shadows for those who can't have shadowmaps? :)
0 x

User avatar
[K.B.] Napalm Cobra
Posts: 1222
Joined: 16 Aug 2004, 06:15

Post by [K.B.] Napalm Cobra »

Whats the difference?
0 x

Kixxe
Posts: 1547
Joined: 14 May 2005, 10:02

Post by Kixxe »

I think he means making shadows as OTA did... taking the model and duplicated it and making it black...

I guess it's posibole...
0 x

Gunthahaha
Posts: 25
Joined: 26 Jul 2005, 11:37

Post by Gunthahaha »

The only difference I know is that shadows can work for me :p
0 x

User avatar
Neuralize
Posts: 876
Joined: 17 Aug 2004, 23:15

Post by Neuralize »

I dig.
0 x

User avatar
Cheery
Posts: 129
Joined: 09 May 2005, 10:30

Post by Cheery »

[K.B.] Napalm Cobra wrote:Whats the difference?
I gues they means stencil shadows with projected.

The difference is that stencil shadows are sharp and shadowmaps are pixelated.

Stencil shadows are made by extruding silhuette away from the point and stenciling contacting surfaces away.

Shadowmaps are done by rendering from light's view and getting the depth, then just projecting that texture on the scene.

Generally shadowmaps looks better in some situations when there are partly transparent textures used.

There are also planar shadows, but they are really old and they are not good in advance.
0 x

User avatar
FireCrack
Posts: 676
Joined: 19 Jul 2005, 09:33

Post by FireCrack »

an option for "blob" shaddows? just little black spots under units (or do we already have this?)
0 x

Gunthahaha
Posts: 25
Joined: 26 Jul 2005, 11:37

Post by Gunthahaha »

Up :p


So, nobody is frustrated to not have shadows?

Remember the wonderful screens we can see from people who have it....
0 x

Post Reply

Return to “Engine”

cron