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

drei

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drei - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

10

dist/index.cjs.js

@@ -292,10 +292,10 @@ 'use strict';

radius: 20,
scale: 0.25,
bias: 0.25
scale: 0.5,
bias: 0.5
}, ao));
var bloomEffect = new postprocessing.BloomEffect(_extends({
opacity: 1,
blendFunction: postprocessing.BlendFunction.ADD,
kernelSize: postprocessing.KernelSize.SMALL,
luminanceThreshold: 0.65,
blendFunction: postprocessing.BlendFunction.SCREEN,
kernelSize: postprocessing.KernelSize.VERY_LARGE,
luminanceThreshold: 0.9,
luminanceSmoothing: 0.07,

@@ -302,0 +302,0 @@ height: 600

@@ -258,10 +258,10 @@ import _extends from '@babel/runtime/helpers/esm/extends';

radius: 20,
scale: 0.25,
bias: 0.25
scale: 0.5,
bias: 0.5
}, ao));
const bloomEffect = new BloomEffect(_extends({
opacity: 1,
blendFunction: BlendFunction.ADD,
kernelSize: KernelSize.SMALL,
luminanceThreshold: 0.65,
blendFunction: BlendFunction.SCREEN,
kernelSize: KernelSize.VERY_LARGE,
luminanceThreshold: 0.9,
luminanceSmoothing: 0.07,

@@ -268,0 +268,0 @@ height: 600

{
"name": "drei",
"version": "0.0.14",
"version": "0.0.15",
"description": "useful add-ons for react-three-fiber",

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

@@ -66,6 +66,5 @@ [![Build Status](https://travis-ci.org/react-spring/drei.svg?branch=master)](https://travis-ci.org/react-spring/drei) [![npm version](https://badge.fury.io/js/drei.svg)](https://badge.fury.io/js/drei) ![npm](https://img.shields.io/npm/dt/drei.svg)

- [x] `<StandardEffects ao=true|{...} bloom=true|{...} />, adds AO, bloom and SMAA \*suspense
- [x] `<StandardEffects ao=true|{...} bloom=true|{...} />`, adds AO, bloom and SMAA \*suspense
Ambient-occlusion-props: https://vanruesc.github.io/postprocessing/public/docs/class/src/effects/SSAOEffect.js~SSAOEffect.html#instance-constructor-constructor
Bloom-props: https://vanruesc.github.io/postprocessing/public/docs/class/src/effects/BloomEffect.js~BloomEffect.html#instance-constructor-constructor
Using the [postprocessing](https://github.com/vanruesc/postprocessing) library. [Ambient-occlusion-props](https://vanruesc.github.io/postprocessing/public/docs/class/src/effects/SSAOEffect.js~SSAOEffect.html#instance-constructor-constructor), [Bloom-props](https://vanruesc.github.io/postprocessing/public/docs/class/src/effects/BloomEffect.js~BloomEffect.html#instance-constructor-constructor)

@@ -72,0 +71,0 @@ ```jsx

@@ -68,4 +68,4 @@ import { HalfFloatType } from 'three'

radius: 20,
scale: 0.25,
bias: 0.25,
scale: 0.5,
bias: 0.5,
...(ao as AOProps),

@@ -76,5 +76,5 @@ })

opacity: 1,
blendFunction: BlendFunction.ADD,
kernelSize: KernelSize.SMALL,
luminanceThreshold: 0.65,
blendFunction: BlendFunction.SCREEN,
kernelSize: KernelSize.VERY_LARGE,
luminanceThreshold: 0.9,
luminanceSmoothing: 0.07,

@@ -81,0 +81,0 @@ height: 600,

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