• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1layout(webgpu, set=1, texture=2, sampler=3) sampler2D tex;
2
3void main()
4{
5    half4 a = sample(tex, half2(1));
6    half4 b = sample(tex, half3(1));
7    half4 c = sample(tex, half3(1), -0.75);
8    sk_FragColor = a * b * c;
9}
10