New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

t3d-effect-composer

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

t3d-effect-composer - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

9

examples/jsm/lensflare/LensflareEffect.js

@@ -157,3 +157,2 @@ import { ShaderPostPass, BLEND_TYPE, RenderTarget2D, TEXTURE_FILTER } from 't3d';

attribute vec3 a_Position;
attribute vec2 a_Uv;

@@ -167,4 +166,3 @@

vec2 pos = a_Position.xz;
pos.y = -pos.y;
vec2 pos = a_Uv * 2.0 - 1.0;

@@ -195,7 +193,6 @@ vec4 visibility = texture2D(occlusionMap, vec2(0.5, 0.5)) * 0.2;

vec4 texture = texture2D(map, v_Uv);
texture.a *= v_Visibility;
gl_FragColor = texture;
gl_FragColor.rgb *= color;
float alpha = texture.a * step(v_Uv.x, 1.0) * step(v_Uv.y, 1.0) * v_Visibility;
gl_FragColor = vec4(texture.rgb * color, alpha);
}
`
};
{
"name": "t3d-effect-composer",
"version": "0.2.0",
"version": "0.2.1",
"description": "EffectComposer for t3d.js",

@@ -5,0 +5,0 @@ "type": "module",

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