mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
HDR and gamma correction
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user