[LayaAir 2.0]关于LAYA BOX SHADER uniform变量 有没有对应UNITY SHADER _ScreenParams : 屏幕参数
Laya shader 是否有对应 Unity shader 里面的 参数 float4 _ScreenParams : 屏幕参数
x is current render target width in pixels x是当前渲染目标在像素值中宽度
y is current render target height in pixels y是当前渲染目标在像素值中的高度
z is 1.0 + 1.0/width z是1.0+1.0/宽度
w is 1.0 + 1.0/height w是1.0+1.0/高度
https://ldc2.layabox.com/doc/?language=zh&nav=zh-js-4-22-9 是否uniform变量 只有网站上的这些
x is current render target width in pixels x是当前渲染目标在像素值中宽度
y is current render target height in pixels y是当前渲染目标在像素值中的高度
z is 1.0 + 1.0/width z是1.0+1.0/宽度
w is 1.0 + 1.0/height w是1.0+1.0/高度
https://ldc2.layabox.com/doc/?language=zh&nav=zh-js-4-22-9 是否uniform变量 只有网站上的这些
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Aar0n
赞同来自: