Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TraderTom, Akow), 1,388 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
vecLightDir[8] #216962
07/20/08 11:37
07/20/08 11:37
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline OP
User
RedPhoenix  Offline OP
User
R

Joined: Jan 2007
Posts: 651
Germany
Hi conitec,

I'd like a new shader vector for passing light directions - like it is already possible with vecSunDir - to pass the angles of the object relevant lights (which would be the entity angles of light emitting objects of course). By now with only vecLightPos it's only possible to realize point lighting techniques, but I'd like to have my own lighting techniques (eg. normalmapping) also working for spotlights.

Re: vecLightDir[8] [Re: RedPhoenix] #218744
07/30/08 09:32
07/30/08 09:32
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, that makes sense. We'll implement it. But wouldn't it be better to pass the light normal to the shader, instead of the angles?

Re: vecLightDir[8] [Re: jcl] #219182
08/01/08 12:55
08/01/08 12:55
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline OP
User
RedPhoenix  Offline OP
User
R

Joined: Jan 2007
Posts: 651
Germany
Well that's what I was talking about wink. Sorry I missused the word "angles", I thought about a directionvector, just as it is done with vecSunDir.


Moderated by  aztec, Spirit 

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