Skip to content
Snippets Groups Projects
Commit a64c567f authored by Andy Nichols's avatar Andy Nichols
Browse files

DefaultMaterial: Actually use a screen blend mode when requested


The Screen blendmode is defined as:
1-(1-SRC)*(1-DST)
Which is the same as:
SRC + DST(1-SRC) or in glBlendFunc terms:
GL_ONE, GL_ONE_MINUS_SRC_COLOR

Output should now be the expected result, but should break the lancelot
test.

Fixes: QTBUG-77786
Change-Id: I01ef0b1e08389394f1a6dc7019587a3473f22f5f
Reviewed-by: default avatarChristian Strømme <christian.stromme@qt.io>
parent 78ca9bc7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment