SetObjectMaterial problem - too dark
#1

Hello.

I really like the new object material feature, but there's a little annoying thing about this. It's about the color of an object - it's always too dark. For example, if I create an object ID 3095 (a yellow platform from Area 51) and set it's object material to snow, it's doesn't look like real. Every time this is very dark, only at night it looks like perfectly. At the day, it's always too dark, in weather ID 3 or 4 (and time 12:00 am) it's completely black. Anyone else have same problem or it is just me? Screenshots below shows everything.

Code:
pawn Код:
new Platform = CreateObject(3095,0,0,900,0,0,0);
SetObjectMaterial(Platform,0,3922,"bistro","mp_snow",0xFFFFFFFF);
Screenshots below shows an object before and after changing the texture with time and weather IDs:
- ID 0, time 12:00
- ID 2, time 12:00
- ID 3, time 12:00
- ID 0, time 00:00

Object before changing texture:


After changing a texture:


Snow texture using txdworkshop:


As you see, the color at the day is completely other than txdworkshop shows (and that snow from Liberty City)... Only a third snow texture is lightest, but should I all the time use same weather ID and time? About this, setting transparency to other doesn't fix this problem.

I hope someone will help me about this, so thanks for any anwsers.
__________

EDIT: This problem has been fixed. Just don't add "0xFFFFFFFF" to change colour in SetObjectMaterial.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)