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
sm: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/sm | |
fs: NA | |
pm: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/pm | |
loader: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/loader | |
pxi: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/pxi | |
am: https://github.com/ZeroSkill1/3ds_am | |
camera: NA | |
cfg: https://github.com/luigoalma/3ds_cfg | |
codec: NA | |
dsp: NA |
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
( grep.tal ) | |
( ) | |
( by d_m ) | |
( print a character to STDOUT ) | |
%emit { #18 DEO } | |
( the first argument to grep is the regex ) | |
( arguments are passed on STDIN, so we just ) | |
( assume the first "line" is the argument ) |
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
const float PI = 3.1415926535; | |
vec4 effect( vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords) | |
{ | |
float aperture = 178.0; | |
float apertureHalf = 0.5 * aperture * (PI / 180.0); | |
float maxFactor = sin(apertureHalf); | |
vec2 uv; | |
vec2 xy = 2.0 * texture_coords.xy - 1.0; |