Skip to content

Conversation

takahirox
Copy link
Collaborator

This PR adds an initial color blending support to WebGPURenderer.

Screenshot of opaque and transparent objects in a scene (with #20272 and #20274).

image

You might like to wait for basic node based material system, but I think basic color blending logic won't change so much (other than shader code) even with node based material system. And the change is just about +50 lines and the code isn't so complex. I think it would be good for us that we can start color blending test with this small change.

What do you think?

@Mugen87
Copy link
Collaborator

Mugen87 commented Sep 6, 2020

I think this is a good start!

@Mugen87
Copy link
Collaborator

Mugen87 commented Sep 6, 2020

I'll merge for further testing.

@Mugen87 Mugen87 merged commit fcde309 into mrdoob:dev Sep 6, 2020
@mrdoob mrdoob added this to the r121 milestone Sep 6, 2020
@takahirox takahirox deleted the WebGPUAlpha branch September 6, 2020 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants