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
0 registered members (), 1,382 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lighting Problem #281943
07/29/09 15:59
07/29/09 15:59
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline OP
Serious User
Claus_N  Offline OP
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Hi,

This has probably been asked before, but why do I see such flaws in the lighting? And how do I fix it? blush



I'm using the mtl_bump shader.

Re: Lighting Problem [Re: Claus_N] #282248
07/30/09 23:18
07/30/09 23:18
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline OP
Serious User
Claus_N  Offline OP
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Bump frown

Here's a more recent screenshot, with flaws in the lighting above the water - and the strange thing is, that there's only 1 block there, however it seems to be the texture (or maybe the normal map?) which causes the problem?



Re: Lighting Problem [Re: Claus_N] #283045
08/05/09 11:52
08/05/09 11:52
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline OP
Serious User
Claus_N  Offline OP
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Bump frown

It seems that it only occurs when I use the shaders from mtlFX.c. I just still don't understand why, and how to fix it.

Re: Lighting Problem [Re: Claus_N] #283054
08/05/09 12:30
08/05/09 12:30
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Sorry, I've never seen that before. Maybe other people will be more able to help with some more information -- is that on level blocks? Which shaders have the problem? Do some of the shaders from mtlFX.c work without the problem?

Sorry I can't be really helpful, but I've just never seen that (if you're working with level blocks, I haven't used WED in a looooooong time).

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Lighting Problem [Re: JibbSmart] #283062
08/05/09 13:53
08/05/09 13:53
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline OP
Serious User
Claus_N  Offline OP
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Thanks for the reply smile

Yes, it's using level blocks from WED, and mtl_bump. I haven't tried all shaders yet, but I'll check whether the other shaders behaves the same way.

Edit: mtl_bump, mtl_parallax and mtl_toon all behaves strange on this particular block.

Last edited by Claus_N; 08/05/09 15:01.
Re: Lighting Problem [Re: Claus_N] #285500
08/18/09 19:39
08/18/09 19:39
Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Paul_L_Ming Offline
User
Paul_L_Ming  Offline
User

Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Hiya.

If you replace the WED blocks with models, do you still get the same result?


^_^

"We've got a blind date with destiny...and it looks like she's ordered the lobster."

-- The Shoveler

A7 Commercial (on Windows 7, 64-bit)
Re: Lighting Problem [Re: Paul_L_Ming] #285888
08/21/09 06:37
08/21/09 06:37
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
its because of the ABT build you build your levels with. the lightning, especially the dynamic lights aswell as the decals are off. the engine basically renders level geometry as polygons now, and sometimes cuts off polys wrongly.
you can try to fix that by setting the WED properties lighting either to ncie dynamic lighting in level build, with small tesselation, remove dynamic light, build as BSP, or check the merge across leafs and chek/uncheck the dont snap vertices flag.
you have to try around a little. this is an error on the engines part and i doubt my tipps help, but its better than nothing...


Moderated by  HeelX, 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