HDR and gamma correction

This commit is contained in:
devZoGok
2021-10-19 19:06:40 +03:00
parent e95e40177a
commit d699201592
7 changed files with 30 additions and 5 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ namespace vb01{
shader->setVec3(color,"light["+to_string(thisId)+"].color");
shader->setFloat(nearPlane,"light["+to_string(thisId)+"].near");
shader->setFloat(farPlane,"light["+to_string(thisId)+"].far");
shader->setInt(0,"tex");
//shader->setInt(0,"tex");
if(type==POINT)
shader->setInt(1,"light["+to_string(thisId)+"].depthMapCube");
else