You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

lore-engine

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.8 to 1.0.9

2

package.json
{
"name": "lore-engine",
"version": "1.0.8",
"version": "1.0.9",
"description": "A WebGL based 3D data visualization engine.",

@@ -5,0 +5,0 @@ "main": "./dist/lore.js",

@@ -6,3 +6,3 @@ ![Lore](https://github.com/reymond-group/lore/blob/master/logo.png?raw=true)

# Lore
Current Version: 1.0.8 ([Godzilla](https://youtu.be/RTzb-sduiWc))
Current Version: 1.0.9 ([Godzilla](https://youtu.be/RTzb-sduiWc))

@@ -9,0 +9,0 @@ ### Teasers

@@ -5,3 +5,5 @@ const Shader = require('../Core/Shader')

module.exports = new Shader('tree', 1, { size: new Uniform('size', 5.0, 'float'),
cutoff: new Uniform('cutoff', 0.0, 'float') }, [
cutoff: new Uniform('cutoff', 0.0, 'float'),
clearColor: new Uniform('clearColor', [0.0, 0.0, 0.0, 1.0], 'float_vec4'),
fogDensity: new Uniform('fogDensity', 6.0, 'float') }, [
'uniform float size;',

@@ -42,2 +44,4 @@ 'uniform float cutoff;',

], [
'uniform vec4 clearColor;',
'uniform float fogDensity;',
'varying vec3 vColor;',

@@ -47,5 +51,6 @@ 'varying float vDiscard;',

'if(vDiscard > 0.5) discard;',
'float fog = 1.0 - (gl_FragCoord.z / gl_FragCoord.w);',
'gl_FragColor = vec4(vColor * fog, 0.5);',
'float z = gl_FragCoord.z / gl_FragCoord.w;',
'float fog_factor = clamp(exp2(-fogDensity * fogDensity * z * z * 1.442695), 0.025, 1.0);',
'gl_FragColor = mix(clearColor, vec4(vColor, 1.0), fog_factor);',
'}'
]);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc