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
4 registered members (AndrewAMD, TipmyPip, NewbieZorro, Grant), 14,196 guests, and 5 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
NM shader with sunlight #227310
09/13/08 18:52
09/13/08 18:52
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline OP
Member
ACKNEX007  Offline OP
Member

Joined: Jun 2007
Posts: 236
acknex.exe
i need a NormalMapping shader with using sunlight (not dynamic)
i am going to use this for level model. (dynamics make it too bright or dark or messy for me)

that shader in massive collection is not working in ATI cars. that i tested. (i tested 2 pcs)

can anyone give me a normalmapping shader which can work with sun light ?


thanks a lot

Re: NM shader with sunlight [Re: ACKNEX007] #227338
09/13/08 21:10
09/13/08 21:10
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Normalmapping that reacts to sunlight is actually a standard use. The complex things come when linking it too lights.

This is due to the fact that the sun is defined in the shader with a keyword thus the compiler and eventually the engine links it with it wink wink

The HLSL code for generating the normal map effect (which I gave you in the previous topic) is capable of interacting with the sunlight.

I actually don't see any problem.
Sunlight is actually considered to be a dynamic light in A7 but I guess you can always make it static by not moving it and setting the light range to a high range.

Try adding that shader again and set one light which completely lits the needed area smile smile

Thanks in progress

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: NM shader with sunlight [Re: frazzle] #227373
09/14/08 03:09
09/14/08 03:09
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline OP
Member
ACKNEX007  Offline OP
Member

Joined: Jun 2007
Posts: 236
acknex.exe
again thanks a lot. i got it working.


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