16 lines
451 B
C
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
|