Skip to content

Commit

Permalink
Fixed transparency in simulation renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
favreau committed Nov 18, 2016
1 parent 4016a94 commit aeadbbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/engines/ospray/render/ExtendedOBJRenderer.ispc
Expand Up @@ -81,7 +81,7 @@ inline vec3f ExtendedOBJRenderer_shadeRay(
varying float localLightEmission = 0.f;
varying float localRefraction = 1.f;
varying float localReflection = 0.f;
varying float localOpacity = 1.f;
varying float localOpacity = 0.f;
varying vec3f localDiffuseColor = make_vec3f( 0.f );
varying vec3f localSpecularColor = make_vec3f( 0.f );
varying float localSpecularExponent = 0.f;
Expand Down
2 changes: 1 addition & 1 deletion plugins/engines/ospray/render/SimulationRenderer.ispc
Expand Up @@ -112,7 +112,7 @@ inline vec3f SimulationRenderer_shadeRay(
varying float localLightEmission = 0.f;
varying float localRefraction = 1.f;
varying float localReflection = 0.f;
varying float localOpacity = 1.f;
varying float localOpacity = 0.f;
varying vec3f localSimulationColor = make_vec3f( 0.f );
varying float localSimulationIntensity = 0.f;
varying vec3f localDiffuseColor = make_vec3f( 0.f );
Expand Down

0 comments on commit aeadbbc

Please sign in to comment.