Object lose any shading/darkness with SetObjectMaterial
#1



Ths is how it used to look before 0.3x
https://www.youtube.com/watch?v=wc5zxbAm9qs
Reply
#2

I think it was removed in 0.3x RC, so as to fix some lighting/reflection problem on some objects.
Actaully I suggest the dev team to add a parameter to specify if they want reflection or not. Maybe in 0.4 or R2.
Reply
#3

The vertex lighting has to be removed if you use a custom material colour. If you use colour 0 this shouldn't happen.

If you really need a custom colour, you'll need to get the colour brightness correct for your material. ie 0xFFFFFFFF might become 0xFF999999.
Reply
#4

I dont use any color at all, I ignore that parameter, but I will try to set white color, maybe helps
Reply
#5

Yeah, I was wrong. I think it's a bug when you set the object draw distance more than 300.0 and it has any custom material applied.

The only solution I have for now is to either lower the draw distance, or change the material colour to a darker colour.

It needs to be fixed properly though.

Another thing I wanted to add, I think if you set a custom material colour on those wall objects, it might remove the lighting problems that come with certain weather IDs.
Reply
#6

I could set color, but then I need to apply to each index that color and with original textures, kinda alot of work, as I change only one index and whole building shine like fresh cent.



I only set transparent text on the index where is that glass, rest is original.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)