Skip to content

Instantly share code, notes, and snippets.

View cmanny's full-sized avatar
🌴
On vacation

Callum Mann cmanny

🌴
On vacation
View GitHub Profile
@cart
cart / FXAA.tscn
Last active January 30, 2024 18:17
Godot Nvidia FXAA 3.11 Port
[gd_scene load_steps=3 format=2]
[sub_resource type="Shader" id=1]
code = "shader_type canvas_item;
// Godot Nvidia FXAA 3.11 Port
// Usage: Drop this in to any 3D scene for FXAA! This is a port of the \"PC High Quality Preset 39\". However the medium quality
// parameters are also included. For medium quality, just comment out sections \"PS 6\" and above and uncomment the \"med 13\" variables.
use std::cmp;
use std::fs;
extern "C" {
fn signal(sig: u32, cb: extern fn(u32)) -> fn(u32);
}
extern fn interrupt(_:u32) {
panic!();
}