Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1017 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 1017 Bytes

DisplayGammaUIInLinearSpace

Use CommandBuffer to create a post-processing effect of the camera and process the gamma resources under the UI camera. Make sure it displays alpha and blend effects correctly in a linear color space.

Written in C#, cg, shaderlab, only build-in render pipelines are supported. Theoretically, 2018.4 or later can be supported, as long as CommandBuffer is supported.

Note: This project has little practical significance, just to test the idea.

Contact me : [email protected]

中文 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

通过 CommandBuffer 创建摄像机的后处理效果,对UI摄像机下的gamma资源做处理。 确保它在线性颜色空间中能够正确显示alpha和blend效果。

用 c#,cg,shaderlab 写成,只支持 build-in 渲染管线。 理论上可以支持 2018.4 或以上版本,只要能支持 CommandBuffer 就行。

注意:这个项目没有什么实际意义,只是为了测试这个想法。

联系我:[email protected]