Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

bakubaku

ATI Rage pro D3DTOP_MODULATE

This topic is 6500 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

Does anybody know how to make this work with the Ati Rage pro the caps say it can do it, but it has no effect. Thanks in advance BB

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I have an ATI Rage Mobility, which is very similar to your card,
and the D3DTOP_MODULATE operation works just fine (DX7.0, UDv1 drivers by RageLT).
For example, I tried the following:

// select sources (texture and diffuse component)
m_pd3dDevice->SetTextureStageState( 0, D3DTSS_COLORARG1, D3DTA_TEXTURE );
m_pd3dDevice->SetTextureStageState( 0, D3DTSS_COLORARG2, D3DTA_DIFFUSE );

// select colour operation
m_pd3dDevice->SetTextureStageState( 0, D3DTSS_COLOROP, D3DTOP_MODULATE );

In my application, I manually light the vertices as follows:

Vertex.dcColor = ...

And I get correctly shaded triangles.
Hope this helps,
Paolo

Share this post


Link to post
Share on other sites

  • 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!