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 (AndrewAMD, Nymphodora), 1,592 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Explicit Shader for cars #35679
11/04/04 02:56
11/04/04 02:56
Joined: Mar 2002
Posts: 575
Saxony, Germany
Guido_Richter Offline OP
Developer
Guido_Richter  Offline OP
Developer

Joined: Mar 2002
Posts: 575
Saxony, Germany
Hi there!

Animated by the car simulation shown in the showcase forum I started to make a good looking sportscar.
I have experience in attching shaders to models but I did'nt find a shader which renders 50% skin-texture and 50% metal-style-shader.
e.g. there is a blue skin attached to the car with some details and I want it to shine like metal with 50% transparency.
All other shaders I tried were "killing" the attached skin and let the model look transparent by itself.
Please help me - you will be rewarded with some nice screens


Guido Richter Foppsoft Developments Wetterpool.de (German weather site) [work:] { not using 3DGS anymore }
Re: Explicit Shader for cars [Re: Guido_Richter] #35680
11/04/04 11:21
11/04/04 11:21
Joined: Jul 2002
Posts: 2,813
U.S.
Nadester Offline

Expert
Nadester  Offline

Expert

Joined: Jul 2002
Posts: 2,813
U.S.
Use the enviromental mapping in the wiki. Make your model's skin a targa, and use a medium gray for the alpha map. By doing so, the model will be half its skin color and half reflective.


--Eric
Re: Explicit Shader for cars [Re: Nadester] #35681
11/04/04 23:32
11/04/04 23:32
Joined: Mar 2002
Posts: 575
Saxony, Germany
Guido_Richter Offline OP
Developer
Guido_Richter  Offline OP
Developer

Joined: Mar 2002
Posts: 575
Saxony, Germany
Thx! I tried it.

I had success attaching the shader.
But there is no result I wished to see.
I draw a green filled skin with and added a alphachannel with medium grey
I also took a cubeimage from the wiki.
It works fine except the transparency of the refelctive.
I just see the environmentmap and nothing of the skin.
Whats wrong??
BTW: I'm using MED & Photoshop


Guido Richter Foppsoft Developments Wetterpool.de (German weather site) [work:] { not using 3DGS anymore }
Re: Explicit Shader for cars [Re: Guido_Richter] #35682
11/05/04 05:06
11/05/04 05:06
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany

Polygons & TGA [Re: Pappenheimer] #35683
11/06/04 05:52
11/06/04 05:52
Joined: Mar 2002
Posts: 575
Saxony, Germany
Guido_Richter Offline OP
Developer
Guido_Richter  Offline OP
Developer

Joined: Mar 2002
Posts: 575
Saxony, Germany
Hi there!

Now it works.I changed the code a little and it helped.
A new problem occured which I noticed in neraly every 3DGS version.
Using TGA-Skins causes "transparent" polygons.
e.g. the wheels look normal but some polygons beeing in the background normally seem to be render in front of other polygons.That's not normal and looks ugly.
Does someone know how to fix this problem?


Guido Richter Foppsoft Developments Wetterpool.de (German weather site) [work:] { not using 3DGS anymore }
Re: Polygons & TGA [Re: Guido_Richter] #35684
11/06/04 06:19
11/06/04 06:19
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

Re: Polygons & TGA [Re: Alexander Esslinger] #35685
01/25/05 05:53
01/25/05 05:53
Joined: Mar 2002
Posts: 575
Saxony, Germany
Guido_Richter Offline OP
Developer
Guido_Richter  Offline OP
Developer

Joined: Mar 2002
Posts: 575
Saxony, Germany
Hi again!
I'm still using the same shader (from Steempipe I think) and as you maybe know I model a firetruck.
Shader looks good, but how can I realize that just SOME PARTS of the model reflect the environment (show the env.map)?
It should be possible, that with the same skin just the metal looks reflecting and e.g. not the seat or so!
How can I realize it?
Making parts of the TGA Skin transparent didn't help!


Guido Richter Foppsoft Developments Wetterpool.de (German weather site) [work:] { not using 3DGS anymore }
Re: Polygons & TGA [Re: Guido_Richter] #35686
05/14/05 18:02
05/14/05 18:02
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline
Expert
XNASorcerer  Offline
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
Could you send me this shader, please?
Thanks.


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