Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, OptimusPrime), 15,359 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
solid shading on models #114960
03/04/07 06:57
03/04/07 06:57
Joined: Aug 2006
Posts: 128
Papua New Guinea
I
Impaler Offline OP
Member
Impaler  Offline OP
Member
I

Joined: Aug 2006
Posts: 128
Papua New Guinea
Sorry if this is the wrong place...
I need models to look like map objects, you know, with sharp edge shading rather than smooth shading as all the models tend to have. How can this effect be acheived?


Murphey's Law:
<< if anything can go wrong, it will >>

(Murphey was an optimist).
Re: solid shading on models [Re: Impaler] #114961
03/04/07 07:13
03/04/07 07:13
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
unweld all the vertices on the model

Re: solid shading on models [Re: Impaler] #114962
03/04/07 07:13
03/04/07 07:13
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
my.material = mat_flat;

You can try that, but I don't think it'll work...

When a model does its lighting, it gets the direction of a face through its vertcies averages. therefore, all normals are interpolated, and provide that smoothness you see (gaurad shading).

You can however write a shader that bypasses this...


xXxGuitar511
- Programmer

Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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