Gamestudio Links
Zorro Links
Newest Posts
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
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,541 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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