Skip to content

我在播放Demo里的"replacement.pag"文件的时候,尝试用MSAA, 但无效果 #2412

Answered by domchen
hjm1fb asked this question in General
Discussion options

You must be logged in to vote

MSAA是依赖sampleCount数量大于1才能启用的,if的判断条件里就有。RT没有正确配置SampleCount当然开启不了。你改的这个变量是纯读取作用,用sampleCount数量判断当前的MSAA开启状态,好跳过CoverageAA的代码。正确的做法是改初始化RT的地方。

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hjm1fb
Comment options

@domchen
Comment options

Answer selected by domchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants