mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
Disable back-face culling when rendering BillboardOverlay
This commit is contained in:
parent
5aa85a5b03
commit
41e68b1c52
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ void BillboardOverlay::render(RenderArgs* args) {
|
|||
batch->setModelTransform(transform);
|
||||
batch->setResourceTexture(0, _texture->getGPUTexture());
|
||||
|
||||
DependencyManager::get<DeferredLightingEffect>()->bindSimpleProgram(*batch, true, true, false, true);
|
||||
DependencyManager::get<DeferredLightingEffect>()->bindSimpleProgram(*batch, true, false, false, true);
|
||||
DependencyManager::get<GeometryCache>()->renderQuad(
|
||||
*batch, topLeft, bottomRight, texCoordTopLeft, texCoordBottomRight,
|
||||
glm::vec4(color.red / MAX_COLOR, color.green / MAX_COLOR, color.blue / MAX_COLOR, alpha)
|
||||
|
|
Loading…
Reference in a new issue