Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (vicknick, AndrewAMD), 1,292 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Gradient Buster #27091
05/10/04 03:30
05/10/04 03:30
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline OP
Expert
A.Russell  Offline OP
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan


Does anyone have a shader that will kill this gradient effect?



Re: Gradient Buster [Re: A.Russell] #27092
05/10/04 06:03
05/10/04 06:03
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
What is it?
- If it's a texutre, I'm afraid there is no way to fix it.
- If it's the lightmap, you'll need 24bit lightmaps.
- And if it's a model/sprite, use a 24/32bit TGA image.

Re: Gradient Buster [Re: Alexander Esslinger] #27093
05/10/04 08:06
05/10/04 08:06
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline OP
Expert
A.Russell  Offline OP
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan


It's a texture on a MAP entity.

Ah well.

Re: Gradient Buster [Re: A.Russell] #27094
05/10/04 10:16
05/10/04 10:16
Joined: Nov 2003
Posts: 1,257
Wade_Adams Offline
Serious User
Wade_Adams  Offline
Serious User

Joined: Nov 2003
Posts: 1,257
have you tried converting the backed textures to the level pallete and see how they look? Just seems like a pallete problem.


Optimism is an occupational hazard of programming: feedback is the treament.
Kent Beck
Re: Gradient Buster [Re: Wade_Adams] #27095
05/10/04 14:51
05/10/04 14:51
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline OP
Expert
A.Russell  Offline OP
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan


I hadn't thought of that Wade. I'll give it a try.

Re: Gradient Buster [Re: A.Russell] #27096
05/11/04 08:00
05/11/04 08:00
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Are you talking about the spherical gradient in the back? If it's just a texture then there's no need for shaders, merely run a blur filter on the texture. If it's due to lightmapping then you will need to add more light source nearby to blur the edges.

Re: Gradient Buster [Re: A.Russell] #27097
05/11/04 14:56
05/11/04 14:56
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
I saw the same effect when I produced and used baked textures I made in Gamespace. When I got it over to 3DGS, I used a video_depth of 32 and no point lights in WED, since they aren't needed for baked surfaces.

Like I mentioned over in that other thread, it might be banding because of the conversion from 24 bit to 16 bit with level textures. If the engine were to support 24-bit level surfaces then I would think that would go away. Perhaps I'm mistaken. Even so, with normal textures and lightmaps, I still see banding using 32-bit color depth and 24-bit lightmaps(regardless of intensity of light or quantity). That's on top of quantization errors.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Gradient Buster [Re: Orange Brat] #27098
05/12/04 12:16
05/12/04 12:16
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline OP
Expert
A.Russell  Offline OP
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan

Marco, this is the texture. I made it as a surface baking test. It is applied to a wall on a map entity. :



As you can see, there aren't any gradient lines on it until it is put in a WAD and applied to geometry. I'll try blurring it and seeing if that helps, though I'll also loose some detail in the texture.

I like Orange Brat's solution. Is it possible?

Re: Gradient Buster [Re: A.Russell] #27099
05/14/04 04:57
05/14/04 04:57
Joined: Aug 2003
Posts: 61
SingleCell Offline
Junior Member
SingleCell  Offline
Junior Member

Joined: Aug 2003
Posts: 61
The gradient effect is caused because 3DGS takes perfectly good 24 bit textures, and munts them down into horrible 16bit ones when it adds them to the compiled map. Bluring the source image will only make it worse.

WED used to show the banding untill they upgraded it to use 24 bit textures loaded from a folder, unfortunatly, the compile process takes those and converts them into efectivly a 16bit wad file encapsulated in the map.

Its the single most annoying aspect of the engine for me, and the sooner we get true 24 bit textures, the better. (also kind of makes a mockery of saying its a 32 bit renderer... "Technically" its a 32 bit renderer.... visually its not in my opinion.

So, to answer your question, there sadly isnt a lot you can do, except start hounding conitec to make 24bit textures a reality.

Regards

Tone

Re: Gradient Buster [Re: SingleCell] #27100
05/14/04 11:56
05/14/04 11:56
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline OP
Expert
A.Russell  Offline OP
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan

I'll post in Engine future and see if something can't be done about it.

Page 1 of 2 1 2

Moderated by  Blink, Hummel, Superku 

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