Skip to content

Instantly share code, notes, and snippets.

@Hyllian
Hyllian / hlsl 3.7c
Created April 25, 2012 00:42
porting xbr to hlsl
/*
Hyllian's 5xBR v3.7c (rounded) Shader
Copyright (C) 2011/2012 Hyllian/Jararaca - sergiogdb@gmail.com
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
@Hyllian
Hyllian / bicubic-fast.cg
Created January 21, 2012 00:55
Fast Cg shader implementation of bicubic interpolation
/*
bicubic-fast Shader
Programmed by Hyllian - 2012
*/
const static float4x4 invX = float4x4(-1.0/6.0, 0.5, -1.0/3.0, 0.0,
0.5, -1.0, -0.5, 1.0,
@Hyllian
Hyllian / retro-dolls.cg
Created July 5, 2011 01:43
Retro shader (DOLLS! version)
/*
Hyllian and DOLLS! Retro Shader
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@Hyllian
Hyllian / retro.cg
Created July 3, 2011 00:33
Retro shader
/*
Hyllian's Retro Shader
Copyright (C) 2011 Hyllian/Jararaca
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
@Hyllian
Hyllian / crt-caligari.cg
Created June 16, 2011 23:33
Second version of phosphor implementation by caligari
/*
Phosphor shader
Copyright (C) 2010, 2011 caligari
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
@Hyllian
Hyllian / dot-bloom.cg
Created June 2, 2011 16:21
dot-bloom port to cg
/*
Dot 'n bloom shader - by TheMaister, 2011.
Public Domain.
*/
struct input
{
float2 video_size;