Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShaderMaterial with Deferred Rendering #6359

Closed
kyma opened this issue Apr 8, 2015 · 1 comment
Closed

ShaderMaterial with Deferred Rendering #6359

kyma opened this issue Apr 8, 2015 · 1 comment

Comments

@kyma
Copy link

kyma commented Apr 8, 2015

ShaderMaterials don't seem to work with the deferred renderer. I get an error in createDeferredMaterials where it tries to copy the color: var diffuse = originalMaterial.color;

If the original material is already a ShaderMaterial, could we just clone it and avoid copying the properties across maybe?

Also the first render wipes out the uniforms on the mesh's material, but maybe these can be accessed elsewhere by that point?

I'm using the shaders from here: http://stemkoski.github.io/Three.js/Shader-Glow.html

@Mugen87
Copy link
Collaborator

Mugen87 commented Jan 5, 2020

WebGLDeferredRenderer has been removed. #18284

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

No branches or pull requests

3 participants