Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (ozgur, Ayumi, VHX, monarch), 1,161 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Shader in model #110039
01/30/07 17:38
01/30/07 17:38
Joined: May 2005
Posts: 67
eyebird Offline OP
Junior Member
eyebird  Offline OP
Junior Member

Joined: May 2005
Posts: 67
Hi, someone knows how to improve a model, when it is loaded in gstudio it looks flat without the shadows seen in another render applications, is there a way to get a better look to the models?

Thanks

Re: Shader in model [Re: eyebird] #110040
02/02/07 09:44
02/02/07 09:44
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
flat? like flat shaded? i think you can asin something like my.polygon = on; or something like that...


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: Shader in model [Re: DLively] #110041
02/02/07 14:49
02/02/07 14:49
Joined: Jun 2003
Posts: 1,017
Germany
T
Thomas_Nitschke Offline
Senior Developer
Thomas_Nitschke  Offline
Senior Developer
T

Joined: Jun 2003
Posts: 1,017
Germany
Hehe, okay Young_Link now that was what most people preferably call bullshit
No offense But my.polygon hast absolutely nothing to do with shading - it is a collision flag (see manual).

eyebird: I think you are most likely looking for the lighting parameters of mat_model (the default material assigned to models) - if so, have a look at the manual, section "Predefined Materials". This should get you going


Formerly known as The Matrix - ICQ 170408644 I've been here for much longer than most people think. So where's my "Expert" status?
Re: Shader in model [Re: Thomas_Nitschke] #110042
02/02/07 15:19
02/02/07 15:19
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
that or his vertices arent welded, if the matrix's advice doesnt work, eyebird, tell me and ill tell you how to check to see if the vertices are welded

Re: Shader in model [Re: lostclimate] #110043
02/06/07 20:39
02/06/07 20:39
Joined: May 2005
Posts: 67
eyebird Offline OP
Junior Member
eyebird  Offline OP
Junior Member

Joined: May 2005
Posts: 67
hi thanks for the advice, well the reason is the models arent shaded.

In Gamestudio:


In Irrlicht:


Both are the same model only in GStudio i didnt load the bones.

You can see both are with default materials but Irrlicht looks far better, is there a way to get this on GStudio?

Re: Shader in model [Re: eyebird] #110044
02/07/07 17:19
02/07/07 17:19
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
change the material parameters. Gstudio default uses per vertex lighting. You need to write a basic shader to use pixel lighting but it's possible.


Follow me on twitter

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