Skip to content

Commit

Permalink
automated embedded LUTs in the DCTL versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Fry committed Jul 28, 2022
1 parent d4e8c53 commit 1a30aed
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 58 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
DEFINE_ACES_PARAM(IS_PARAMETRIC_ACES_TRANSFORM: 0)


__DEVICE__ float lin_to_ACEScct(float in) {
if (in <= 0.0078125f) {
return 10.5402377416545f * in + 0.0729055341958355f;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
DEFINE_ACES_PARAM(IS_PARAMETRIC_ACES_TRANSFORM: 0)


__DEVICE__ float lin_to_ACEScct(float in) {
if (in <= 0.0078125f) {
return 10.5402377416545f * in + 0.0729055341958355f;
Expand All @@ -25,7 +24,6 @@ __DEVICE__ float3 transform(int p_Width, int p_Height, int p_X, int p_Y, float p
}



DEFINE_CUBE_LUT(DRTLUT)
{
TITLE "Generated by Foundry::LUT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
DEFINE_ACES_PARAM(IS_PARAMETRIC_ACES_TRANSFORM: 0)


__DEVICE__ float lin_to_ACEScct(float in) {
if (in <= 0.0078125f) {
return 10.5402377416545f * in + 0.0729055341958355f;
Expand All @@ -25,7 +24,6 @@ __DEVICE__ float3 transform(int p_Width, int p_Height, int p_X, int p_Y, float p
}



DEFINE_CUBE_LUT(DRTLUT)
{
TITLE "Generated by Foundry::LUT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
DEFINE_ACES_PARAM(IS_PARAMETRIC_ACES_TRANSFORM: 0)


__DEVICE__ float lin_to_ACEScct(float in) {
if (in <= 0.0078125f) {
return 10.5402377416545f * in + 0.0729055341958355f;
Expand Down
Loading

0 comments on commit 1a30aed

Please sign in to comment.