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
void main_vertex( float4 position : POSITION, | |
out float4 oPosition : POSITION, | |
float2 texCoord : TEXCOORD0, | |
out float2 oTexCoord : TEXCOORD0, | |
uniform float4x4 modelViewProj ) | |
{ | |
oPosition = mul(modelViewProj, position); | |
oTexCoord = texCoord; | |
} |
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
/* derived from https://github.com/libretro/common-shaders/blob/master/Motionblur/Motionblur-blue.cg | |
to increase the effect, uncomment more PREVX lines in each color channel | |
*/ | |
struct previous | |
{ | |
uniform sampler2D texture; | |
float2 tex_coord; | |
}; |
NewerOlder