About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Draw silhouette behind object
Author Message
takashi Offline
Member

Post: #1
Draw silhouette behind object
Hi,

How can I draw silhouette behind object?
Can I do it with EE function, or should I create new shader?
I attached sample image.

Thanks in advance,
Takashi


Attached File(s) Image(s)
   
07-08-2016 07:18 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #2
RE: Draw silhouette behind object
check out the behind effect tuto this might work for you (N°18 under 14 - Game basic)

Quote: if(mesh)if(Frustum(Ball().setAnimated(mesh->box, skel)))
{
SetBehindBias(mesh->box.h()*skel.scale());
mesh->drawBehind(Color(64, 128, 255, 255), Color(255, 255, 255, 0), skel);
}
(This post was last modified: 07-08-2016 08:45 AM by RedcrowProd.)
07-08-2016 07:34 AM
Find all posts by this user Quote this message in a reply
Post Reply