Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: [RESOLVED] - Actor.Render after Draw2DAction makes specular disappear  (Read 1231 times)
beyonder
Moderator
Community Member
*****
Posts: 461


« on: December 28, 2007, 06:43:10 PM »

If I do an Actor.Render *after* a Draw2D I loose my awesome specular highlights. I really need them because I am rendering skin. I've tried Shader and Blended modes. Both seem to disappear. Sound like a bug?


Why I am trying to render an Actor after a Draw2D:

I am trying to get soft shadows to work via Zaks>Rauls efforts.
 
It works. The way its set up it only works properly if the Actor recieves a self-shadow.
 
I can't have this...
 
So I have to render the soft shadow via a render surface first and then draw my Actor on top of it. Otherwise the shadow will be drawn on top of my actor:



Thanks in advance...!

« Last Edit: December 30, 2007, 02:35:38 PM by beyonder » Logged

"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
SylvainTV
Administrator
Community Member
*****
Posts: 4946


WWW
« Reply #1 on: December 29, 2007, 07:33:46 PM »

The bug is that 2D rendering disable specular/fog/lighting.
If you render something else after the 2D rendering, all will still be disabled. 2d is supposed to be rendered always after all 3d, so it doesn't cause usually lots of problems.

I think that if you force TVLightEngine.SetSpecularEnable false/true again. Specular will reappear correctly Smiley
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
beyonder
Moderator
Community Member
*****
Posts: 461


« Reply #2 on: December 30, 2007, 02:35:06 PM »

Hey... it worked!

Finally....!!! Lets have a soft-shadows party!



I didn't want to post... but my site and software have had a makeover. http://aibliss.com/ Will try to get softshadows in in a few days.

... thanks Zak, Raul, Sylvain ... I've been waiting for this a long time.  Smiley


« Last Edit: December 30, 2007, 04:16:56 PM by beyonder » Logged

"And what I saw scared me to the depths of my miserable soul. It was true, it was all a sham, it ain't real." - The Thirteenth Floor
Pages: [1]
  Print  
 
Jump to:  

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