takashi
Member
|
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
|
|
07-08-2016 07:18 AM |
|
RedcrowProd
Member
|
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 |
|