Files
Misaki f1d3dddb9a Change project structure;
Added new c# binding;
2025-12-30 20:54:05 +09:00

16 lines
451 B
C

#ifndef ATROUS_H
#define ATROUS_H
// TODO: Since a trous requires albedo and normal buffer, we may need to implement aov first.
const float kernel[5][5] =
{
{1.0f/256, 4.0f/256, 6.0f/256, 4.0f/256, 1.0f/256},
{4.0f/256,16.0f/256,24.0f/256,16.0f/256, 4.0f/256},
{6.0f/256,24.0f/256,36.0f/256,24.0f/256, 6.0f/256},
{4.0f/256,16.0f/256,24.0f/256,16.0f/256, 4.0f/256},
{1.0f/256, 4.0f/256, 6.0f/256, 4.0f/256, 1.0f/256}
};
#endif // ATROUS_H