Ticket: 12572
I am assuming with “display object” more or less a “sprite” meaning a quad you in the end are sending to the OGL pipe.
TECH:
If I am not misstaken OGL support not just Vertex Color (subtractive mode) but also Vetex Illumination? (additive mode). I am not 100% but I know that the PowerVR that is the gfxchip for iPhone do support vertex illumination without any shader mode. And it do not take any extra performance on the gfxcard.
REASON/USE:
This is free in hardware as is a great way to brighten gfx. This could be used for lighting effect as well as the classic arcade “flash” that blends a sprite to white when hit by the player.
IMPLEMENTATION.
If OGL do supports it then:
object.illumination = color [import]uid: 37802 topic_id: 22734 reply_id: 322734[/import]