One option I have in my game is for user characters to use “invisibility”. In the game, I would like to represent this by making the actor model look transparent.
Is this something that can be done with code? Is there sample code I can look at? Or so I need to check with 3d artists on this?
“brighter” is a little harder, because a lot of times your models are already as bright as they can be in the fixed-function rendering model. You can use a shader to desaturate the textures somewhat, or you can apply a glow filter; or you can turn off texturing.
If your model has colors built into it, though–vertex colors or whatever–then you can just use setColor() or setColorScale() to make it brighter. Most models don’t use vertex colors, though.
is a little more optimal. But it shouldn’t matter much. If it’s not working, perhaps it’s because you haven’t set self.isInvisible or something like that.