Some objects are darker, and some lighter.
#10

Quote:
Originally Posted by Nate4
View Post
In short: You should be using 0x0, not 0xFFFFFFFF

If you do not wish to re-colour the object (only set a material), use 0x0 as the colour parameter. This will set the material only..

For some objects, if you set any colour (0xFFFFFFFF is techinically) on material index 0, the vertex lighting will be removed which is why some objects become darker.
Ref:https://sampwiki.blast.hk/wiki/SetObjectMaterial
i changed the matrialcolor to 0xFFFFFFFF to all objects cuz i want them to loose the vertex lighting and make the objects dark.

They all lose vertex lighting but some of them are dark(as they should be) and some of them are brighter.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)