mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-28 06:13:01 +00:00
22 lines
638 B
Text
22 lines
638 B
Text
|
#include "shared.effect"
|
||
|
#include "lut.effect"
|
||
|
|
||
|
//------------------------------------------------------------------------------
|
||
|
// Uniforms
|
||
|
//------------------------------------------------------------------------------
|
||
|
uniform int4 lut_params_0;
|
||
|
|
||
|
//------------------------------------------------------------------------------
|
||
|
// Functionality
|
||
|
//------------------------------------------------------------------------------
|
||
|
float4 PSProduceLUT(VertexData vtx) : TARGET {
|
||
|
return generate_lut2(vtx.uv, lut_params_0);
|
||
|
};
|
||
|
|
||
|
technique Draw {
|
||
|
pass {
|
||
|
vertex_shader = DefaultVertexShader(vtx);
|
||
|
pixel_shader = PSProduceLUT(vtx);
|
||
|
};
|
||
|
};
|