Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/25/26 16:09
Z9 getting Error 058
by jcl. 04/24/26 17:48
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Grant, TipmyPip), 3,403 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Gouraud shading in the engine - how to disable it? #73730
05/10/06 08:23
05/10/06 08:23
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline OP
Senior Expert
ulillillia  Offline OP
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
I'm just wondering - how can I disable gouraud shading in the engine for selected models? If possible, is there a way to set a flag to each model polygon to choose between using flat shaded (as MED has) and gouraud shaded? If so, how can I do this?


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Gouraud shading in the engine - how to disable [Re: ulillillia] #73731
05/10/06 18:53
05/10/06 18:53
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
Try this:
Code:

action MyFlatEntity
{
wait(1); // just to be safe
material= mat_flat;
}



Re: Gouraud shading in the engine - how to disable [Re: Marco_Grubert] #73732
05/11/06 18:44
05/11/06 18:44
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Is it possible to use a similar material for example wireframe only?

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Gouraud shading in the engine - how to disable [Re: PHeMoX] #73733
05/11/06 19:47
05/11/06 19:47
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
The predefined materials are listed in the manual. Others have to be created with shaders.

Re: Gouraud shading in the engine - how to disable [Re: Marco_Grubert] #73734
08/08/06 08:58
08/08/06 08:58
Joined: Jun 2006
Posts: 86
Asia
xboy360 Offline
Junior Member
xboy360  Offline
Junior Member

Joined: Jun 2006
Posts: 86
Asia
hello. Is there any way to do this with A6 standard 6.22?


Happy Birthday!
Re: Gouraud shading in the engine - how to disable [Re: xboy360] #73735
08/08/06 11:38
08/08/06 11:38
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
Yes, mat_flat is supported by all A6 editions.


Moderated by  old_bill, Tobias 

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