Sun light affection

Posted By: Mysterious

Sun light affection - 10/11/09 15:03

Hi
I am using ent_createlayer(...)

so the created entity is affected by the sun_light and sun_position, I want to prevent that from happening.
also I want them to have a material using mtl_create()
Posted By: Superku

Re: Sun light affection - 10/12/09 02:59

You may have a look at albedo in the manual.

MATERIAL* mtl_nosun = {
ambient_blue = 100;
ambient_green = 100;
ambient_red = 100;
albedo = -100;
}
© 2024 lite-C Forums