|
2 registered members (AndrewAMD, SBGuy),
987
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: flat-shaded look?
[Re: Freddy_dup1]
#133499
06/03/07 14:17
06/03/07 14:17
|
Joined: Feb 2003
Posts: 211 Unna
Freddy_dup1
OP
Member
|
OP
Member
Joined: Feb 2003
Posts: 211
Unna
|
I just noticed that there is no model - shading at all in my game. Is there a way to turn it on? I want it to look like it does in MED.
Last edited by Freddy; 06/03/07 14:29.
|
|
|
Re: flat-shaded look?
[Re: Freddy_dup1]
#133502
06/03/07 15:02
06/03/07 15:02
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
for a flat-shaded look you have to unweld all the vertices at edges. Shaders use the normals of the vertices when calculating light, so normals will be interpolated between faces. You might have to redo the model unles you have some good modelling software. Just make sure the edges you want flat-shaded are seperated.
xXxGuitar511 - Programmer
|
|
|
Re: flat-shaded look?
[Re: xXxGuitar511]
#133504
06/03/07 15:08
06/03/07 15:08
|
Joined: Feb 2003
Posts: 211 Unna
Freddy_dup1
OP
Member
|
OP
Member
Joined: Feb 2003
Posts: 211
Unna
|
Thanks.
@xXxGuitar511 : I think that would work, but it sounds like an unprofessional way to do it. I thought that "materials" were included into 3DGS to change shadows.
It works in MED so there must be a way to do it in the engine, too.
Last edited by Freddy; 06/03/07 15:09.
|
|
|
Re: flat-shaded look?
[Re: Freddy_dup1]
#133505
06/03/07 15:28
06/03/07 15:28
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
- Materials are used in 3DGS - Shadows have nothing to do with materials - You mentioned shaders, are you using one? - Unprofessional, no, thats just the only way to do it with 3DGS
xXxGuitar511 - Programmer
|
|
|
Re: flat-shaded look?
[Re: ACKNEX007]
#133507
06/03/07 17:28
06/03/07 17:28
|
Joined: Feb 2003
Posts: 211 Unna
Freddy_dup1
OP
Member
|
OP
Member
Joined: Feb 2003
Posts: 211
Unna
|
@xXxGuitar511 Shadows have nothing to do with materials????? Manual: "The material definition controls the lighting properties of entities and surfaces, as well as special rendering effects like pixel and vertex shaders."
If you right-click on the preview in MED and then click on "GLX Properties" and than on "Advanced..." you can change the material (and shadows on the model). I want to do the same in the game.
@ACKNEX007 Sorry I haven`t got any web-space. You can only see the edges of the models. The rest is in one color and brightness. (No shadows) I use a skin with only one color and brightness. So only the shadows should be visible- but there are no shadows.
Last edited by Freddy; 06/03/07 17:44.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|
|
|