Lack of MRT support in ShaderLab
#2373
Labels
enhancement
New feature or request
high priority
High priority issue
Rendering
Rendering related functions
shader
Shader related functions
Milestone
Is your feature request related to a problem? Please describe.
Currently developer can only specify multiple render target using
gl_FragData
with glsl100 syntax, butgl_FragData
is not supported in WebGL2.In Unity
ShaderLab
, you specify mrt by sematic keywordsSV_Target
,SV_Target0
,SV_Target1
, ...Describe the solution you'd like
A complete MRT support in WebGL1 and Webgl2
Syntax
All syntax above are supported.
The text was updated successfully, but these errors were encountered: