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 (TipmyPip, AndrewAMD, dBc, clonman), 18,621 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
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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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