About Store Forum Documentation Contact



Post Reply 
Fade characters.
Author Message
Xhizors Offline
Member

Post: #1
Fade characters.
Hello, I want to make some fade function for my character handler and I wondering how it should be done.

1) When the character creates ( add to the world ) it should start on alpha 0 and increase to max ( Model should be full visibly ).

2) When the character state = Delete it will fade to 0 ( Model should be zero visibly -> remove when alpha == 0 )

So how to fade the model itself?

Thank you.
(This post was last modified: 04-27-2010 07:07 AM by Xhizors.)
04-26-2010 07:51 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Fade characters.
You can use 'Mesh::drawBlendSolid' (instead of 'Mesh::draw') but it doesn't support lighting and shadowing
04-28-2010 08:04 PM
Find all posts by this user Quote this message in a reply
Xhizors Offline
Member

Post: #3
RE: Fade characters.
(04-28-2010 08:04 PM)Esenthel Wrote:  You can use 'Mesh::drawBlendSolid' (instead of 'Mesh::draw') but it doesn't support lighting and shadowing

OK, I will try that out.
04-29-2010 07:08 AM
Find all posts by this user Quote this message in a reply
Post Reply