Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graspologic/renderer-glsl

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graspologic/renderer-glsl - npm Package Compare versions

Comparing version 0.7.0-9 to 0.7.0-10

7

dist/cjs/shaders/node.fs.glsl.js

@@ -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 @@

2

dist/cjs/shaders/node.vs.glsl.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc