This file contains hidden or 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
| local graphics = love.graphics | |
| local TAU = math.pi * 2 | |
| local p, pe | |
| local MS=1 | |
| local PSIZE=40 | |
| function love.load() | |
| graphics.setDefaultFilter('linear', 'linear', 4) |
This file contains hidden or 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
| # -*- coding: utf-8 -*- | |
| """ | |
| Simple coloring shader example. | |
| Press any number key (not on the numpad) to change the triangle color | |
| """ | |