mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 10:28:44 -05:00
Add a hidden "Fade" property that modifies the effective opacity to enable other functionality (closes #1970)
This commit is contained in:
@@ -318,7 +318,7 @@ void RenderablePrism::render(const RenderData& data, RendererTasks&) {
|
||||
|
||||
// Uniforms
|
||||
_shader->setUniform(_uniformCache.modelViewProjection, modelViewProjectionTransform);
|
||||
_shader->setUniform(_uniformCache.color, glm::vec4(_lineColor.value(), _opacity));
|
||||
_shader->setUniform(_uniformCache.color, glm::vec4(_lineColor.value(), opacity()));
|
||||
|
||||
// Render
|
||||
glEnable(GL_PRIMITIVE_RESTART);
|
||||
|
||||
Reference in New Issue
Block a user