2023-02-28 01:15:26 +00:00
|
|
|
// AUTOGENERATED COPYRIGHT HEADER START
|
|
|
|
// Copyright (C) 2021-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
|
|
|
// AUTOGENERATED COPYRIGHT HEADER END
|
|
|
|
|
2021-02-02 21:25:06 +00:00
|
|
|
#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);
|
|
|
|
};
|
|
|
|
};
|