Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Shadow sample [weird shadow on Actor]  (Read 641 times)
masmas
Community Member
*
Posts: 20


« on: July 21, 2008, 12:32:42 AM »

Hi guys

I'm doing some AI, Physics & shadow sample, but i get a weird result over the actor shadow only need a shadow map but still getting one over the actor body and face.



Here some video of the sample
http://www.youtube.com/watch?v=gMudG4xMQVE

This is where define shadow over the actor

pNpc->SetShadowCast(true,true);

I set up light and put true that drop shadow

pLuces->SetLightProperties(iLuz, true, true, true);

In the Loop i use this one

pEscena->FinalizeShadows();

Any ideas? that what i'm doing wrong


Logged
micmanos
Customers
Community Member
*****
Posts: 420

End of this evil world in 4..3..2..


WWW
« Reply #1 on: July 21, 2008, 03:57:11 AM »

Seems like the glasses and the actors right hand are also projecting shadows to the actor him self.
Logged

sybixsus
Customers
Community Member
*****
Posts: 1088


WWW
« Reply #2 on: July 21, 2008, 12:23:36 PM »

Render things you don't want to receive shadows after you finalize the shadows. And these are stencils if you're using the inbuilt shadows, not a shadow map.
Logged
masmas
Community Member
*
Posts: 20


« Reply #3 on: July 25, 2008, 11:47:13 PM »

Yeap i'm trying to build a simple shadow map over a squere work pretty well but over the mesh is duplicate the shadow i test shadowcast stuff but is not working i even change light but still same result, no clue why is getting duplicate shadow, don't know how to make it stencil one
Logged
sybixsus
Customers
Community Member
*****
Posts: 1088


WWW
« Reply #4 on: July 26, 2008, 01:01:05 PM »

Why are you calling finalize shadows and enabling the shadow casting property for the lights if you're not using the stencil shadows?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks