X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fsky%2FCloudShaderGeometry.cxx;h=ed9e94f6c127cda96b3ba0ffa979b244900dd265;hb=2805a2d0cc86d03052fcd5da0e648ce5bfd82f7d;hp=229710db32ba4fa96dad76aa3ec4bf0a59c5820d;hpb=e7f151ad02467cb1763b118e699776d9b3e10492;p=simgear.git diff --git a/simgear/scene/sky/CloudShaderGeometry.cxx b/simgear/scene/sky/CloudShaderGeometry.cxx old mode 100755 new mode 100644 index 229710db..ed9e94f6 --- a/simgear/scene/sky/CloudShaderGeometry.cxx +++ b/simgear/scene/sky/CloudShaderGeometry.cxx @@ -116,7 +116,7 @@ void CloudShaderGeometry::drawImplementation(RenderInfo& renderInfo) const (GLfloat) t.cloud_height }; extensions->glVertexAttrib3fv(USR_ATTR_1, ua1 ); extensions->glVertexAttrib3fv(USR_ATTR_2, ua2 ); - glColor4f(t.position.x(), t.position.y(), t.position.z(), 1.0); + glColor4f(t.position.x(), t.position.y(), t.position.z(), zscale); _geometry->draw(renderInfo); } }