Hello everyone first time posting. I am using lite C and creating a game. I am creating an action buildings() in my buildings.c file for all building models in my game and I am trying to create a level of ambient light on my model that it will maintain on all surfaces whether day or night. The first picture is what it looks like now and the second picture is sort of the ambience that you see on the face of the building that I would like to maintain during my dynamic day/night transition. I am using Loopix's wonderful environment for my base. I've been working on this for almost a week and I just cannot figure out how to maintain ambient light on all the surfaces of the model. Please help me figure out this detail for my action. I look forward to your help.
action buildings(){
fx_bump();
ent_building = me;
set(my, POLYGON);
VECTOR temp;
if(is(my,set_my_z)){
vec_set(temp, my.z);
temp.z -= 2000;
my.z -= c_trace (my.x, temp, IGNORE_ME | IGNORE_YOU | IGNORE_SPRITES | IGNORE_PASSABLE);
my.z = my.z + my.z_adjust;
}
if(is(my,set_my_pan)){
my.pan = my.pan_angle;
}
if(is(my,set_my_ambient)){
//this is where I have been trying to figure out a way to maintain an ambience on all the surfaces of the model
}
}
This pic is what it looks like now:
[img]http://content.glidesociety.com/image.aspx?id=84be7c58-a831-4cc5-a51a-9d1a09b0560c[/img]
This pic is sort of the ambience that I would like to maintain on all surfaces of the model day or night.
[img]http://content.glidesociety.com/image.aspx?id=60715c99-ce29-4155-8644-8a8f34af1cd5[/img]
I have latest A7 commercial edition.
Sorry about the pics not showing not sure how to fix that either lol. I'm really doing good here.