Searched refs:skyResolutionY (Results 1 – 2 of 2) sorted by relevance
38 , skyResolutionY(44) in Atmosphere()135 posGrid = new Vec2f[static_cast<size_t>((1+skyResolutionX)*(1+skyResolutionY))]; in computeColor()136 colorGrid = new Vec4f[static_cast<size_t>((1+skyResolutionX)*(1+skyResolutionY))]; in computeColor()138 float stepY = static_cast<float>(prj->getViewportHeight()) / skyResolutionY; in computeColor()143 for(unsigned int y=0; y<=skyResolutionY; ++y) in computeColor()157 posGridBuffer.allocate(posGrid, static_cast<int>((1+skyResolutionX)*(1+skyResolutionY))*8); in computeColor()163 for (unsigned int y2=0; y2<skyResolutionY; ++y2) in computeColor()179 indicesBuffer.allocate(indices, static_cast<int>((skyResolutionX+1)*skyResolutionY*2*2)); in computeColor()263 for (unsigned int i=0; i<(1+skyResolutionX)*(1+skyResolutionY); ++i) in computeColor()307 averageLuminance = sum_lum/((1+skyResolutionX)*(1+skyResolutionY)); in computeColor()[all …]
88 unsigned int skyResolutionY,skyResolutionX; member in Atmosphere