-
Beta Was this translation helpful? Give feedback.
Answered by
domchen
Sep 4, 2024
Replies: 1 comment 2 replies
-
MSAA是依赖sampleCount数量大于1才能启用的,if的判断条件里就有。RT没有正确配置SampleCount当然开启不了。你改的这个变量是纯读取作用,用sampleCount数量判断当前的MSAA开启状态,好跳过CoverageAA的代码。正确的做法是改初始化RT的地方。 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
domchen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MSAA是依赖sampleCount数量大于1才能启用的,if的判断条件里就有。RT没有正确配置SampleCount当然开启不了。你改的这个变量是纯读取作用,用sampleCount数量判断当前的MSAA开启状态,好跳过CoverageAA的代码。正确的做法是改初始化RT的地方。