Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Can't really do anything about that. Those objects were designed by Rockstar to be used in one specific location only so the shading is adapted to that specific location.
Posts: 78
Threads: 10
Joined: Oct 2013
Reputation:
0
13.01.2017, 21:33
(
Last edited by AWTom; 14/01/2017 at 09:32 AM.
)
Its not Rockstar object, its samp 0.3.7 object but that has nothing to do with my issue.
Its not shading, the shading dissappeared once i change materialcolor of object.
on my screenshot you can see like 10 same objects(ID:11694) with changed material and materialcolor and some of them are darker than others after I converted them to .pwn and loaded on my server.
Posts: 119
Threads: 10
Joined: Oct 2010
Reputation:
0
I am guessing you're setting the materialcolor to 0 instead of 0xFFFFFFFF. I am talking about the last parameter in SetObjectMaterial function.
Posts: 352
Threads: 37
Joined: Jun 2012
Try putting a flasher/traffic light object near the connection point and see if the colours bug out even more. Many SA-MP objects (f.e the new walls) have a really annoying problem with lighting and it can't be fixed by the scripter.
Posts: 352
Threads: 37
Joined: Jun 2012
Quote:
Originally Posted by AWTom
I tried but it doesnt help rly, thanks anyway
|
This wasn't supposed to help, I just wanted to know if that object has the same problem as the new walls.
Posts: 78
Threads: 10
Joined: Oct 2013
Reputation:
0
Sorry for posting on old thread but my soulution might help other ppl with same problem.
My soulution is, that all objects have to has max 500 draw distance, otherwise they will keep changing their texture color when you get too far.