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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 13,972 guests, and 6 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
Removing all shading. #137609
06/22/07 07:47
06/22/07 07:47
Joined: Jan 2005
Posts: 9
Pensacola, Fl
T
Tokyoma Offline OP
Newbie
Tokyoma  Offline OP
Newbie
T

Joined: Jan 2005
Posts: 9
Pensacola, Fl
I'm going to make a game with completely painted textures. Much like Kingdom Hearts.
But in order to do this I need a way to remove all lighting.
I've tried just setting all of the blocks' surface flags to Flat and that seemed to work at first but one of the walls seems to still be lighter than the others when I build and run.
I just want to eliminate all shading/lighting.

Last edited by Tokyoma; 06/22/07 07:48.
Re: Removing all shading. [Re: Tokyoma] #137610
06/22/07 07:53
06/22/07 07:53
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
- try to change max_lights and sun_light to zero in dispay00.wdl
- maybe floor_range and d3d_lightres too
just idea


Never say never.
Re: Removing all shading. [Re: tompo] #137611
06/22/07 07:55
06/22/07 07:55
Joined: Jan 2005
Posts: 9
Pensacola, Fl
T
Tokyoma Offline OP
Newbie
Tokyoma  Offline OP
Newbie
T

Joined: Jan 2005
Posts: 9
Pensacola, Fl
I'm not using any includes or template scripts.
It has to be something with the properties of the level itself, I think.

Re: Removing all shading. [Re: Tokyoma] #137612
06/22/07 08:05
06/22/07 08:05
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
That's the point...
if you are not changing any script, engine has default settings, so you have to include (I think) display.wdl to replace them
But I'm afraid that this is a build-in part of the engine and maight be some problem to remove light completly that's why you don't have any light script or function but still can see objects

BTW: maybe try to replace blocks with models?

Last edited by tompo; 06/22/07 08:06.

Never say never.
Re: Removing all shading. [Re: tompo] #137613
06/22/07 08:16
06/22/07 08:16
Joined: Jan 2005
Posts: 9
Pensacola, Fl
T
Tokyoma Offline OP
Newbie
Tokyoma  Offline OP
Newbie
T

Joined: Jan 2005
Posts: 9
Pensacola, Fl
Ahahaha.
Code:
var sun_light=0;


That was easy to fix. =P

Last edited by Tokyoma; 06/22/07 08:17.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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