Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于12.6节动态模糊,accumulateTexture变量的问题 #339

Open
gahara123 opened this issue Sep 25, 2023 · 2 comments
Open

关于12.6节动态模糊,accumulateTexture变量的问题 #339

gahara123 opened this issue Sep 25, 2023 · 2 comments

Comments

@gahara123
Copy link

作者您好,关于P264(5)中的代码
想请问一下accumulateTexture变量的意义,结尾处
Graphics.Blit(source, accumulationTexture, material); Graphics.Blit(accumulationTexture, destination);
两行代码为什么不直接用Grphics.Blit(source,destination,material)代替,我代替之后也出现了运动模糊的效果。
这一节的shader用的Blend命令我理解是和颜色缓存进行混合//这里不知道是否有误,所以就不知道为什么需要accumulateTexture作为中间量一直存储了

@TheZoomFlash
Copy link

TheZoomFlash commented Sep 25, 2023 via email

@spicy-ice
Copy link

spicy-ice commented Sep 25, 2023 via email

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

No branches or pull requests

3 participants