diff options
Diffstat (limited to 'musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_ps.fx')
-rw-r--r-- | musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_ps.fx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_ps.fx b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_ps.fx new file mode 100644 index 0000000..27b4b27 --- /dev/null +++ b/musikcube_win32_with_milkdrop2_0.98.1/plugins/Milkdrop2/data/warp_ps.fx @@ -0,0 +1,18 @@ +shader_body +{ + //************************************************************ + // NOTE: the body of this shader will be replaced by MilkDrop + // whenever a pre-MilkDrop-2 preset is loaded! + //************************************************************ + + // sample previous frame + ret = tex2D( sampler_main, uv ).xyz; + + // darken over time + ret -= 0.004; + + //************************************************************ + // NOTE: the body of this shader will be replaced by MilkDrop + // whenever a pre-MilkDrop-2 preset is loaded! + //************************************************************ +} |