Jump to content

  • Log In with Google      Sign In   
  • Create Account


Render Targets and Blend States


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Migi0027   Crossbones+   -  Reputation: 1510

Like
0Likes
Like

Posted 14 October 2013 - 12:55 AM

Hi guys! 

 

Is it possible to have different blend states with the different render targets bound?

 

Thanks.

-MIGI0027



Sponsor:

#2 unbird   Crossbones+   -  Reputation: 4968

Like
2Likes
Like

Posted 14 October 2013 - 03:50 AM

Yes, if IndependentBlendEnable is set.

 

Edit: See update below.


Edited by unbird, 14 October 2013 - 12:39 PM.


#3 Migi0027   Crossbones+   -  Reputation: 1510

Like
0Likes
Like

Posted 14 October 2013 - 04:24 AM

Ahh, just what I needed.

 

You know, I've always wondered what those render targets meant when creating a blend state, until now. biggrin.png

 

Thank you.


Edited by Migi0027, 14 October 2013 - 04:25 AM.


#4 unbird   Crossbones+   -  Reputation: 4968

Like
0Likes
Like

Posted 14 October 2013 - 12:38 PM

Update: I wrote the previous post not from home where I couldn't test it. I knew I missed something:

 

D3D11: ERROR: ID3D11Device::CreateBlendState: DestBlend[ 1 ] does not equal DestBlend[ 0 ] and D3D10.1 hardware is not supported. When GetFeatureLevel returns D3D_FEATURE_LEVEL_10_0 or less, any enabled render target blending must use the same blending configuration. [ STATE_CREATION ERROR #213: CREATEBLENDSTATE_INVALIDDESTBLEND ]

 

Yep, independant blending is is only available for feature level 10.1 or higher.

 

Cheers






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS