This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pico-8 cartridge // http://www.pico-8.com | |
version 16 | |
__lua__ | |
-- pong-8 | |
-- https://baraujo42.itch.io | |
-- globals | |
player_speed = 1 | |
ball_speed = 0.75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unity shader for blur image effect | |
// Based on https://www.youtube.com/watch?v=kpBnIAPtsj8 and http://danjohnmoran.com/Shaders/102/SimpleBoxBlur.shader | |
// Add on a material and use the blur radius slider to increase/decrease the effect | |
Shader "Custom/BlurImageEffect" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_BlurRadius("Blur radius", Range(0, 5)) = 1 |