Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: need help adding a shadowmap [Re: JetpackMonkey] #76764
06/07/06 09:16
06/07/06 09:16
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
no, not in that case we have here. this simply mixes an additional texture to the resulting skin.
however if one dynamically changes this shadowmap by writing into it it's possible to achive various interesting things

Re: need help adding a shadowmap [Re: ello] #76765
06/07/06 09:19
06/07/06 09:19
Joined: Nov 2003
Posts: 1,659
San Francisco
JetpackMonkey Offline
Serious User
JetpackMonkey  Offline
Serious User

Joined: Nov 2003
Posts: 1,659
San Francisco
Pity it can't influence other objects. Maybe this will happen in A7?

Can the shadow map texture lower resolution than the main texture? If not, would it be much different from baked-on shadows in terms of texture memory consumption?

Much obliged,

Re: need help adding a shadowmap [Re: JetpackMonkey] #76766
06/07/06 09:58
06/07/06 09:58
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
it can be of any resolution allowed by the target gpu. in generally the technique used here has higher memory consumption as it is an additional texture. prebaked texture didnt work here, because the base texture is masked by a channel. if i'd do such shader from scratch i'd use a base texture unmasked (eventually with prebaked shadow) and then additional masked detail textures.

Re: need help adding a shadowmap [Re: ello] #76767
06/07/06 10:05
06/07/06 10:05
Joined: Nov 2003
Posts: 1,659
San Francisco
JetpackMonkey Offline
Serious User
JetpackMonkey  Offline
Serious User

Joined: Nov 2003
Posts: 1,659
San Francisco
So.. if I had several objects using the same texture, from an external file (imagine one rock is repeated several times), in the long run I would indeed save memory if the shadow maps were 256x256 over the base texture, rather than several individually baked 1024x1024 textures.. is that correct?

Re: need help adding a shadowmap [Re: JetpackMonkey] #76768
06/07/06 10:07
06/07/06 10:07
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
yes


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Page 2 of 2 1 2

Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1