Gamestudio Links
Zorro Links
Newest Posts
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
ZorroGPT
by TipmyPip. 10/23/26 09:08
No connection to MT4
by JeyKey II. 10/22/26 15:33
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (JeyKey II, TipmyPip, Samed), 11,556 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_nextlight() - more than 7 lights? #303046
12/24/09 20:14
12/24/09 20:14
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
I don't know if it's possible to implement this, as i have no real idea on how A7's lightmanager works internally, but is there any chance of changing the ent_nextlight function so it accepts any number of lights and not only 7?
I'm asking, because i have to pass all dynamic lights there are to my deferred shader. I have no problem retriving the lights which were created by script, but retriving the dynamic lights placed in WED seems to be only possible with ent_nexlight.

Ultimately i would need the ~64 nearest dynamic lights to the camera which would then be passed to the shader.

If it isn't possible to change the ent_nextlight function, do you know of any other way to retrive WED placed dynamic lights? laugh


Oh any merry christmas and some nice days off wink


Shade-C EVO Lite-C Shader Framework
Re: ent_nextlight() - more than 7 lights? [Re: BoH_Havoc] #303098
12/25/09 08:52
12/25/09 08:52
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
hi, i posted a solution here...

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=303097&#Post303097

...just in case you missed it.

Re: ent_nextlight() - more than 7 lights? [Re: DJBMASTER] #303203
12/26/09 19:22
12/26/09 19:22
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Use c_scan for detecting the nearest lights, thats much easier than reading them out of the WMB file.


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