mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 13:51:24 +02:00
fixed web fade fo' real
This commit is contained in:
parent
130e64aaba
commit
b13edc7b6a
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ void RenderableWebEntityItem::render(RenderArgs* args) {
|
|||
batch._glColor4f(1.0f, 1.0f, 1.0f, fadeRatio);
|
||||
|
||||
DependencyManager::get<GeometryCache>()->bindSimpleSRGBTexturedUnlitNoTexAlphaProgram(batch);
|
||||
DependencyManager::get<GeometryCache>()->renderQuad(batch, topLeft, bottomRight, texMin, texMax, glm::vec4(1.0f, 1.0f, 1.0f, 1.0f));
|
||||
DependencyManager::get<GeometryCache>()->renderQuad(batch, topLeft, bottomRight, texMin, texMax, glm::vec4(1.0f, 1.0f, 1.0f, fadeRatio));
|
||||
}
|
||||
|
||||
void RenderableWebEntityItem::setSourceUrl(const QString& value) {
|
||||
|
|
Loading…
Reference in a new issue