Searched refs:betaTexture (Results 1 – 6 of 6) sorted by relevance
46 double betaTexture = -reflect.GetBeta(); in EnvMapping() local50 if (betaTexture > 0.5 * M_PI) betaTexture = 0.5 * M_PI - betaTexture; in EnvMapping()52 if (betaTexture < -0.5 * M_PI) betaTexture = -0.5 * M_PI + betaTexture; in EnvMapping()55 double dty = (betaTexture / M_PI + 0.5) * texHeight + texHeight * 8.0; in EnvMapping()
51 double betaTexture = rotatedViewVector.GetBeta(); in BackgroundShader() local56 if (betaTexture < 0) in BackgroundShader()58 betaTexture = -betaTexture; in BackgroundShader()63 + cos(alphaTexture) * (1.0 - betaTexture / (0.5 * M_PI)) * texWidth * 0.5 in BackgroundShader()66 + sin(alphaTexture) * (1.0 - betaTexture / (0.5 * M_PI)) * texHeight * 0.5; in BackgroundShader()77 double betaTexture = -rotatedViewVector.GetBeta(); in BackgroundShader() local78 if (betaTexture > 0.5 * M_PI) betaTexture = 0.5 * M_PI - betaTexture; in BackgroundShader()79 if (betaTexture < -0.5 * M_PI) betaTexture = -0.5 * M_PI + betaTexture; in BackgroundShader()83 (betaTexture / M_PI + 0.5) / params->backgroundVScale + params->backgroundTextureOffsetY); in BackgroundShader()
112 double betaTexture = -point.GetBeta(); in TextureMapping() local114 textureCoordinates.y = betaTexture / M_PI; in TextureMapping()
54 float betaTexture = -atan2(rotatedViewVector.z, length(rotatedViewVector.xy));55 if (betaTexture > 0.5f * M_PI_F) betaTexture = 0.5f * M_PI_F - betaTexture;56 if (betaTexture < -0.5f * M_PI_F) betaTexture = -0.5f * M_PI_F + betaTexture;60 texCord.y = (betaTexture / (M_PI_F) + 0.5f) / consts->params.backgroundVScale97 float betaTexture = atan2(rotatedViewVector.z, length(rotatedViewVector.xy));100 if (betaTexture < 0.0f)102 betaTexture = -betaTexture;108 tex.x = 0.25f + cos(alphaTexture) * (1.0f - betaTexture / (0.5f * M_PI_F)) * 0.25f + offset;109 tex.y = 0.5f + sin(alphaTexture) * (1.0f - betaTexture / (0.5f * M_PI_F)) * 0.5f;
45 float betaTexture = -GetBeta(reflect);49 if (betaTexture > 0.5f * M_PI_F) betaTexture = 0.5f * M_PI_F - betaTexture;51 if (betaTexture < -0.5f * M_PI_F) betaTexture = -0.5f * M_PI_F + betaTexture;54 float dty = (betaTexture / M_PI_F + 0.5f) * texHeight + texHeight * 8.0f;
115 float betaTexture = -GetBeta(point);117 textureCoordinates.y = betaTexture / M_PI_F;