KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2022-01-30 to 1 day

cameraman color

ComputeScreenPos in Compute Shader

元のComputeScreenPos #define V2F_SCREEN_TYPE float4 inline float4 ComputeScreenPos (float4 pos) { float4 o = pos * 0.5f; //why myltiply by .5f #if defined(UNITY_HALF_TEXEL_OFFSET) o.xy = float2(o.x, o.y*_ProjectionParams.x) + o.w * _Screen…

"FOOTER"