Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: TangentSpace and specular lighting  (Read 820 times)
Aion
Customers
Community Member
*****
Posts: 110


WWW
« on: January 03, 2008, 09:42:32 PM »

when using TV_LIGHTING_BUMPMAPPING_TANGENTSPACE on actors, the specular power of the material is fixed, no amount changes anything.
Logged

Aion - god of Neverdaunt, creator of Monster Planet
jviper
Community Member
*
Posts: 1381

Discipline in training


« Reply #1 on: January 04, 2008, 11:46:41 PM »

When you use the TVActor, which ActorMode (TVACtor.SetActorMode) are you using? I think if your ActorMode (method of handling animation and skinning) involves shaders, any other shader you apply to the actor will be disabled (as only one shader can be applied to a TVActor at a time).
Logged

JAbstract.....Don't just imagine, make it happen!
Aion
Customers
Community Member
*****
Posts: 110


WWW
« Reply #2 on: January 04, 2008, 11:55:31 PM »

Ive tried almost every configuration possible, even ones that don't make any sense. Are you (or is anyone?) able to change the specular power on an actor while using Tangentspace?

Ive used actor.getdeformedmesh to make a mesh replica of the actor and set the same material and textures to it, and i can change the specular power on that mesh, but not on the actor.
Logged

Aion - god of Neverdaunt, creator of Monster Planet
sybixsus
Customers
Community Member
*****
Posts: 1094


WWW
« Reply #3 on: January 05, 2008, 01:42:50 PM »

You are using the latest build, yes? Because I do remember there being a bug or a missing feature with specular on actors, but I believed it had been fixed in the last build. I can't easily test as I recently moved from using inbuilt materials and now use custom shaders on all actors.
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #4 on: January 05, 2008, 03:00:43 PM »

Yea PS2.0 of bumpmapped actor was added quite recently with customizable material power.
Make sure you're using the 2.0 version for internal shaders too.
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 !
Aion
Customers
Community Member
*****
Posts: 110


WWW
« Reply #5 on: January 05, 2008, 11:43:06 PM »

DLL Compilation time Nov 18 2007 17:59:33
ive set the Pixel Shader to 2.0 with no luck
Logged

Aion - god of Neverdaunt, creator of Monster Planet
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #6 on: January 08, 2008, 07:00:40 AM »

OK. I will check.

Tangents have some problems too anyway for boxes and flat stuff especially...
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 !
jviper
Community Member
*
Posts: 1381

Discipline in training


« Reply #7 on: January 10, 2008, 05:42:53 PM »

Here's a question: Did you set anything with the TVLights.SetSpecularLighting?
Logged

JAbstract.....Don't just imagine, make it happen!
Aion
Customers
Community Member
*****
Posts: 110


WWW
« Reply #8 on: January 10, 2008, 05:51:20 PM »

tried it with and without. if i recall, making it false just disables any specular.
Logged

Aion - god of Neverdaunt, creator of Monster Planet
Pages: [1]
  Print  
 
Jump to:  

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