added diffuse convolution CPU side

This commit is contained in:
devZoGok
2021-11-27 21:15:06 +02:00
parent 7ede4be32a
commit 12e4870789
5 changed files with 85 additions and 23 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ namespace vb01{
initWindow(name);
brdfLutPlane = new Quad(Vector3::VEC_IJK);
postfilterBox = new Box(Vector3::VEC_IJK);
brdfLutPlane = new Quad(Vector3(1, 1, 1) * 2);
iblBox = new Box(Vector3::VEC_IJK);
Texture *fragTexture = new Texture(width, height, false);
Texture *brightTexture = new Texture(width, height, false);