Jump to content
  • Advertisement


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



This topic is 6583 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
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,

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!