Sign in to follow this  
mauro78

Soft Particles & DX9

Recommended Posts

Hi All. I'm trying to implement soft particles with DX9 & SM 3.0 I'm using point sprites. I can actually get all the data I need but one: the Point Sprites depth value in pixel shader. I've debugged/tried averything but I can't get this data correctly. I've tried to compute this value in the VS and pass it to the PS but no luck :-( I've passed the value as a COLOR0 or TEXCOORD0 but it seems like the value is not passed correctly to the PS. Please has somebody solved this problem? Regards

Share this post


Link to post
Share on other sites
Seems like driver/card problem: I've just tested the code on a GeForce 9600 GT and everything seems to work nice. Particles become soft as they approach/intersects objects. Also Point sprites depth now is readed rightfully in the Pixel Shader.

The problem I've noticed was with my laptop+bootcamp+ATI X1600.....maybe I'll try to update bootcamp driver.



I'll post further investigations....

Regards,
Mauro


http://www.breakinglass.com

[Edited by - mauro78 on December 27, 2009 4:01:08 AM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this