Game Development Community

tile object visibilty

by Dan Pascal · in Torque X 2D · 02/06/2010 (8:24 pm) · 3 replies

in txb if you set a tile object's visiblity to say 0.5, (in txb), it will do it in txb, but not in the game?
is there a bug fix somewhere, can't seem to find it with some searching...

thanks

#1
02/06/2010 (8:57 pm)
I think it is something to do with IsColorBlended I also recall making some change in the source to make that work.
#2
02/07/2010 (12:47 pm)
thanks found it

simpleMaterial.cs which is in torquecore/materials
switch the private bool isColorBlended to true

that's not gonna cause any problems is it?
I was reading the other post on performance hit etc, but found it too confusing...
#3
02/08/2010 (2:21 am)
I have done it before and had not issues, of course I don't know if I do anything that complex. I am actually shocked at how many people are upset over a few lost cycles.