Sign in to follow this  

Blending without changing the alpha source

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

Hi,

I have a GBuffer with RGB = albedo and Alpha = Lighting Model (float converted to int).

The problem is when I render decal the alpha is modified, then I have bad rendering.

http://msdn.microsoft.com/en-us/library/windows/desktop/ff476087%28v=vs.85%29.aspx

The best way to avoid this conflict is to set the RenderTargetWriteMask of D3D11_RENDER_TARGET_BLEND_DESC to only write RGB ?

Thanks for the help

Share this post


Link to post
Share on other sites

This topic is 1103 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.

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