Jump to content
  • Advertisement
Sign in to follow this  
Michael Coles

Point Sprite Textures (RESOLVED)

This topic is 4861 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Has anyone managed to texture D3D Point Sprites with a HLSL Pixel Shader function. The problem is the lack of texture Co-Ords since a point is processed as a single vertex by the vertex shader. However, we did try and get tex-coords using 0->1 in screenspace. The problem was then trying to get the exact co-ords for the sprite using the backbuffer dimensions and the point sprite size. It would have worked if you could access VPos register in HLSL, but this doesnt seem to work. Any Ideas? Thank in Advance Michael Coles Senior Software Developer Digini Software Labs S.R.L http://www.digini.com [Edited by - Michael Coles on July 24, 2005 2:20:41 PM]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!