SetObjectMaterial - Brighter object? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetObjectMaterial - Brighter object? (
/showthread.php?tid=651146)
SetObjectMaterial - Brighter object? -
m4karow - 14.03.2018
Hey
I'm making a carwashing system and i've got some problem with the objects
I use this object at the moment but you can see on the second picture that is so much brighter and mine is dark.
This is that i found
And this is what i want
How i can set the object that i use more brighter? Or the object models are different?
Re: SetObjectMaterial - Brighter object? -
PepsiCola23 - 14.03.2018
did you try different time of the day?
Re: SetObjectMaterial - Brighter object? -
m4karow - 14.03.2018
yes and weather too
in the middle you can see it's still dark
Re: SetObjectMaterial - Brighter object? -
NaS - 14.03.2018
Textured objects sometimes behave like this. The lighting doesn't always work as it should.
Not sure what you can do about it, except also setting the color completely white (the color parameter of SetObjectMaterial). This will not make the object white, just a tiny bit darker so this effect won't be noticable.
Re: SetObjectMaterial - Brighter object? -
m4karow - 14.03.2018
Thanks NaS, i've set the color to white and it's much better. I think my car washing system is done...
Lets continue the work deal with the npc driver