Sign in to follow this  
zealotgi

Scaling Point Sprites (making them larger)

Recommended Posts

zealotgi    100
Hello, How do I make my point sprites larger? I messed around with the following functions, but im not sure how to get them larger than they are... // FLOAT_TO_DWORD is an inline function that converts, well, float values to DWORD values pD3DDevice->SetRenderState( D3DRS_POINTSCALE_A, FLOAT_TO_DWORD(0.0f) ); pD3DDevice->SetRenderState( D3DRS_POINTSCALE_B, FLOAT_TO_DWORD(0.0f) ); pD3DDevice->SetRenderState( D3DRS_POINTSCALE_C, FLOAT_TO_DWORD(1.0f) );

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