@graspologic/renderer-glsl
Advanced tools
Comparing version 0.7.0-9 to 0.7.0-10
@@ -44,11 +44,6 @@ module.exports = `#version 300 es | ||
// Stash the alpha channel, we restore the alpha later | ||
float alpha = vColor.a; | ||
// For the outline, muliply the color based on the distance away depending on the type of shape | ||
// we are drawing | ||
fragColor *= uOutline == 1.0 ? color_scale(distance) : 1.0; | ||
fragColor.rgb = mix(vec3(0.0, 0.0, 0.0), fragColor.rgb, (uOutline * color_scale(distance))); | ||
fragColor.a = alpha; | ||
fragColor = picking_filterColor(fragColor); | ||
@@ -55,0 +50,0 @@ |
@@ -67,3 +67,3 @@ module.exports = `#version 300 es | ||
#ifdef SHOW_FILTERED_OUT_NODES | ||
#ifdef SATURATION_PASS | ||
@@ -70,0 +70,0 @@ // This one hides nodes that are fully saturated |
@@ -44,11 +44,6 @@ export default `#version 300 es | ||
// Stash the alpha channel, we restore the alpha later | ||
float alpha = vColor.a; | ||
// For the outline, muliply the color based on the distance away depending on the type of shape | ||
// we are drawing | ||
fragColor *= uOutline == 1.0 ? color_scale(distance) : 1.0; | ||
fragColor.rgb = mix(vec3(0.0, 0.0, 0.0), fragColor.rgb, (uOutline * color_scale(distance))); | ||
fragColor.a = alpha; | ||
fragColor = picking_filterColor(fragColor); | ||
@@ -55,0 +50,0 @@ |
@@ -67,3 +67,3 @@ export default `#version 300 es | ||
#ifdef SHOW_FILTERED_OUT_NODES | ||
#ifdef SATURATION_PASS | ||
@@ -70,0 +70,0 @@ // This one hides nodes that are fully saturated |
{ | ||
"name": "@graspologic/renderer-glsl", | ||
"version": "0.7.0-9", | ||
"version": "0.7.0-10", | ||
"description": "Graph data visualization core renderer (GLSL Code)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41755
837