Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, 7th_zorro, 1 invisible), 1,060 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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