Shader Q:使用FrameBuffer Fetch华为Mali设备编译Shader直接闪退,但是如果把纹理采样去掉就正常了,有遇到过这种问题的嘛?Unity 2021.3.23Custom SRPDevice : HUAWEI P40 --- Mali-G76设备本身支持GL_EXT_shader_framebuffer_fetch。 Shader "unlit/test" { Properties { _Color ("Main Color", Color) = (1,1...
D/skia (14043): 3 #extension GL_EXT_shader_framebuffer_fetch : require D/skia (14043): 4 precision mediump float; D/skia (14043): 5 precision mediump sampler2D; D/skia (14043): 6 inout mediump vec4 sk_FragColor; D/skia (14043): 7 uniform mediump vec4 uleftBorderColor_Stage1_c...
Since things appear to work properly if I add#extension GL_EXT_shader_framebuffer_fetch: enableto my shader despite it not being in the extensions list, I think all that is needed is to add it into the extensions list (and removethe commentsaying it's not supported). Based on skimming ...
ShaderRequirements.FramebufferFetch 描述 表示着色器必须支持帧缓冲提取(这是具有输入+输出片元着色器颜色参数的能力)。 Did you find this page useful? Please give it a rating: Report a problem on this page 版权所有 © 2020 Unity Technologies. Publication 2020.2 教程 社区答案 知识库 论坛 Asset Sto...