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

add layout-qualifier to pc_fragColor in fragment shader program for webgl2 #22931

Merged
merged 1 commit into from
Dec 2, 2021

Conversation

ligaofeng0901
Copy link
Contributor

@ligaofeng0901 ligaofeng0901 commented Dec 1, 2021

Related issue: Fixed #22920, related #16390 (comment)

Description

layout(location = 0) out highp vec4 pc_fragColor, layout qualifier is specificed in https://www.khronos.org/registry/OpenGL/specs/es/3.2/GLSL_ES_Specification_3.20.html#layout-qualifiers, and if use multiple render target, the location field must be declared.

@Mugen87 Mugen87 added this to the r136 milestone Dec 1, 2021
@mrdoob mrdoob merged commit e139c1c into mrdoob:dev Dec 2, 2021
@mrdoob
Copy link
Owner

mrdoob commented Dec 2, 2021

Thanks!

@Junior2Ran
Copy link
Contributor

Thanks!

u r welcome

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.

Use multiple render target in preset materials
4 participants