question, using DrawIndexedInstanced with BlendState

Started by
0 comments, last by MJP 11 years, 4 months ago
Does blendstate works if i am using DrawInstanced and every instance is rendering to the same texel of a texture?
Example:
The texel i am rendering starts with 0 value
The blendstate is configured to make every draw add the value that already has the texel with the value returned by the pixel shader.
The pixel shader always returns 5.
So if i draw 4 instances
Will the texel in the end have a value of 20?
Advertisement
Yes, that will work the way you expect it to.

This topic is closed to new replies.

Advertisement