Bug with SetObjectMaterial
#1

If you set one of the material indexes invisible (color 0x00FFFFFF) the rest of the object becomes very dark. Could this please be fixed?
Reply
#2

This problem didn't occur to me. I used this:
Код:
SetDynamicObjectMaterial(objectid, 1, 0, "none", "none", 0);
Works perfectly fine for me, I use it on several objects.

I'm sure the normal version works pretty much the same.
Reply
#3

Perfect, thanks so much. There's still major problems with the 'color' parameter though. It doesn't work as it should.
Reply
#4

It's just set up weirdly. Normal colors are RGBA, object colors are ARGB. The alpha is before the colors, instead of behind it.
Reply
#5

I know that.
Reply
#6

Well, I haven't experienced any problems with the material colors yet, so I'm not sure where these problems should be.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)