Sign in to follow this  

DirectX D3DTOP_ADDSIGNED

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

What is the biggest difference between D3DTOP_ADDSIGNED and D3DTOP_ADD?

When I take multitexture technology, I can get good effect by adding detail texture to base texture with D3DTOP_ADDSIGNED, but not with D3DTOP_ADD.

I can't comprehend it well.

Share this post


Link to post
Share on other sites
add signed has a -0.5 bias meaning the texture can brighten or darken the other texture.

IMHO you should ditch the fixed function pipeline which is outdated nowadays.

Share this post


Link to post
Share on other sites
Thank you! Madhed.


You are right. I just want to know the technologies which are introduced in the books, so i won't feel confused.

Yes, the detail map has to darken some pixel. So it needs to be signed.

Share this post


Link to post
Share on other sites
This is all covered in the SDK help file which should definitely be your first point of reference to supplement anything from books.

[quote]D3DTOP_ADDSIGNED
Add the components of the arguments with a - 0.5 bias, making the effective range of values from - 0.5 through 0.5.[/quote]

Share this post


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