Skip to content

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