wgslift playground
HLSL to WGSL in your browser. Nothing leaves this page.
Source
Entry point
Stage
Pixel
Vertex
Dialect
Direct3D 9
Modern
HLSL
sampler2D tex; float time; float4 main(float2 uv : TEXCOORD0) : COLOR0 { float2 wave = uv + 0.02 * sin(uv.yx * 20 + time); return tex2D(tex, wave) * float4(1, 0.9, 0.8, 1); }
WGSL
Loading...
Reflection