Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Minimesh Particles[solved]  (Read 751 times)
AriusEso
Customers
Community Member
*****
Posts: 940

Esoteric


« on: August 10, 2009, 01:23:08 PM »

Not entirely sure if this is a bug or just a feature that was never implemented. Either case it's playing crazy with my deferred renderer. I expected the particles to retain their minimesh vertex declarations and shader settings. Wishful thinking I know, but it's rather important to my renderer. Without this I have to write my own particle system Sad. There is no function in CTVParticleSystem that allows one to set a shader on the minimesh. Of course CTVMiniMesh->SetShader() doesn't work. Attempting to use SetBillboardShader results only in expected dissapointment:

Quote
08-10-2009 19:17:29 | PARTICLE SYSTEM : Can't use custom shaders on Point sprites or minimesh particles ! Use a billboard emitter !

Is there any way to get minimesh shaders working on the particles( with tangents Grin )?

Thanks.
« Last Edit: August 11, 2009, 01:28:59 PM by AriusEso » Logged

-...-

AriusEso
Customers
Community Member
*****
Posts: 940

Esoteric


« Reply #1 on: August 11, 2009, 01:28:40 PM »

Nevermind, was an order issue. Must set shader on minimesh before adding minimesh to the particle system.  Wink
Logged

-...-

SylvainTV
Administrator
Community Member
*****
Posts: 4946


WWW
« Reply #2 on: August 12, 2009, 06:54:49 AM »

I will add a TVParticle.SetMinimeshShader function anyway to make sure this does not happen again.
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 !
Pages: [1]
  Print  
 
Jump to:  

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