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
2 registered members (AndrewAMD, 1 invisible), 1,395 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Old School Shader #50688
08/04/05 04:54
08/04/05 04:54
Joined: Jan 2005
Posts: 9
Pensacola, Fl
T
Tokyoma Offline OP
Newbie
Tokyoma  Offline OP
Newbie
T

Joined: Jan 2005
Posts: 9
Pensacola, Fl
Yeah, I kinda need a little help with this one. I'm looking to make a game that has really very basic shading like in starfox or any of the earlier 3D games. Any idea at all how I might achieve this effect?

Re: Old School Shader [Re: Tokyoma] #50689
08/04/05 05:11
08/04/05 05:11
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline
Expert
slacer  Offline
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
You should add some screenshots and describe what kind of look you mean.
It really depends on your games render engine how a rendering looks like.

A simple sphere in OpenGL looks different than the same sphere in an DirectX application.
If you want to mimic the default OpenGL shading (you only need to define some material properties and a lightsource), you have to use pixelshader with game studio.

-- slacer

Re: Old School Shader [Re: slacer] #50690
08/04/05 06:25
08/04/05 06:25
Joined: Jan 2005
Posts: 9
Pensacola, Fl
T
Tokyoma Offline OP
Newbie
Tokyoma  Offline OP
Newbie
T

Joined: Jan 2005
Posts: 9
Pensacola, Fl
Here are some images of what I'm trying to replicate.






Re: Old School Shader [Re: Tokyoma] #50691
08/04/05 07:12
08/04/05 07:12
Joined: Jul 2002
Posts: 2,813
U.S.
Nadester Offline

Expert
Nadester  Offline

Expert

Joined: Jul 2002
Posts: 2,813
U.S.
Not so much shader work - but rather use very basic one color textures, and very very low poly models. Disable lighting where ever possible and just use basic ambient light. Use a lot of 2D Sprites where 3D models would normally be used. And if you still want a shader, you could do a sort of goraud shading deal.


--Eric
Re: Old School Shader [Re: Tokyoma] #50692
08/04/05 08:34
08/04/05 08:34
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline
Expert
slacer  Offline
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
Quote:

Here are some images of what I'm trying to replicate.





Well, when I read you first post I googled around and found this game.
And - I was not sure why you meant this was old school



-- slacer

Re: Old School Shader [Re: slacer] #50693
08/04/05 11:04
08/04/05 11:04
Joined: Jan 2005
Posts: 9
Pensacola, Fl
T
Tokyoma Offline OP
Newbie
Tokyoma  Offline OP
Newbie
T

Joined: Jan 2005
Posts: 9
Pensacola, Fl
Ahaha, yeah.

I've come rather close to getting what I want, i just dropped the res down low and used basic one color textures. Only problem is that you can't tell where one wall ends and another begins.

Here is a pic of an inside corner of 3 walls.


For some reason one is brighter than the others, which is good, but the problem is that all the others are the same color and further more indistinguishable.

Re: Old School Shader [Re: Tokyoma] #50694
08/04/05 11:32
08/04/05 11:32
Joined: Sep 2004
Posts: 340
Canada, ONT
Crewed Offline
Senior Member
Crewed  Offline
Senior Member

Joined: Sep 2004
Posts: 340
Canada, ONT
I suppose a game like Chronotrigger is old school or Zelda?

Last edited by Crewed; 08/04/05 11:34.

AnotherRealm Forum Related topics to 3D GameStudio
Re: Old School Shader [Re: Crewed] #50695
08/04/05 12:11
08/04/05 12:11
Joined: Mar 2005
Posts: 18
V
voodoofactory1 Offline
Newbie
voodoofactory1  Offline
Newbie
V

Joined: Mar 2005
Posts: 18
Wouldn't it be easier to just do all shading and highlighting in the textures? As I recall, the 2 starwing games didn't feature any lighting. So if for example you have a cube, the side facing the sun would be the lightest, the side opposite of that would be the darkest, and the sides inbetween would be something in between.
If you do want something dynamic, you basically want to have everything "flat shaded" which means that all polygons have hard edges.

Re: Old School Shader [Re: voodoofactory1] #50696
08/04/05 15:11
08/04/05 15:11
Joined: May 2002
Posts: 2,541
Berlin
EX Citer Offline
Expert
EX Citer  Offline
Expert

Joined: May 2002
Posts: 2,541
Berlin
Funny that noone here knows star fox. Everything there is flat shaded, not gouroud (smooth) shaded. And there are some strange wireframe shader, which are bright blue lines which get sometimes yellow or white.
Thatīs the FX chip(!) graphic and I think itīs not very playable. I liked star fox because of the color and sound effects.


:L
Re: Old School Shader [Re: EX Citer] #50697
08/04/05 18:34
08/04/05 18:34
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
the renderstate "ShadeMode" should get your interest . set it to flat

then basically you need to take the normal and the sunDirection and calculate the dot-product of it. now multiply this with the models flat painted texture and there you go.

and finally you could render into a texture 320x240 or lower:) to add the final touch

Last edited by ello; 08/04/05 19:17.

www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
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