Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 662 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Material Issues #133130
06/01/07 22:49
06/01/07 22:49
Joined: Aug 2003
Posts: 169
Tennessee, US
Ahriman Offline OP
Member
Ahriman  Offline OP
Member

Joined: Aug 2003
Posts: 169
Tennessee, US
I am hoping this question fits in this topic as it is regarding Materials. I am having a problem with Dynamic light, it is making the model extremly bright if the dynamic light is close to it. I have tried setting various settings for the material and even with these settings the Almost white light still appears on the model, screenshot and code below...



Code:
 vec_set(mat_model.ambient_blue,vector(50,50,50));
vec_set(mat_model.diffuse_blue,vector(10,10,10));
vec_set(mat_model.specular_blue,nullvector);
vec_set(mat_model.emissive_blue,nullvector);
mat_model.power = 0;
mat_model.albedo = 0;



Re: Material Issues [Re: Ahriman] #133131
06/02/07 02:02
06/02/07 02:02
Joined: Aug 2003
Posts: 169
Tennessee, US
Ahriman Offline OP
Member
Ahriman  Offline OP
Member

Joined: Aug 2003
Posts: 169
Tennessee, US
I actually had to adjust the d3d_pointlightfalloff values to get this looking right... Have never worked with lighting to much before in 3DGS


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