Skip to content

Commit

Permalink
Merge pull request #293 from vanruesc/dev
Browse files Browse the repository at this point in the history
Version 6.21.5
  • Loading branch information
vanruesc authored May 9, 2021
2 parents 83630ba + ecc0a15 commit ba6276b
Show file tree
Hide file tree
Showing 6 changed files with 202 additions and 112 deletions.
5 changes: 5 additions & 0 deletions demo/src/demos/GodRaysDemo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
AmbientLight,
Color,
Fog,
Group,
Mesh,
MeshBasicMaterial,
Expand Down Expand Up @@ -152,6 +153,10 @@ export class GodRaysDemo extends PostProcessingDemo {

scene.background = new Color(0x000000);

// Fog

scene.fog = new Fog(0x000000, 1, 30);

// Lights

const ambientLight = new AmbientLight(0x101010);
Expand Down
6 changes: 6 additions & 0 deletions demo/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ p {
user-select: none;
}

.dg ul {
max-height: 80vh;
overflow: auto;
scrollbar-width: thin;
}

.dg select {
max-width: 100%;
}
Expand Down
5 changes: 0 additions & 5 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ await esbuild.build({
],
outExtension: { ".js": ".txt" },
outdir: "tmp",
logLevel: "info",
format: "iife",
bundle: true,
minify,
Expand All @@ -33,7 +32,6 @@ await esbuild.build({
await esbuild.build({
entryPoints: ["demo/src/index.js"],
outdir: "public/demo",
logLevel: "info",
format: "iife",
bundle: true,
plugins,
Expand All @@ -45,7 +43,6 @@ await esbuild.build({
entryPoints: ["src/index.js"],
outfile: `build/${pkg.name}.esm.js`,
banner: { js: banner },
logLevel: "info",
format: "esm",
bundle: true,
external,
Expand All @@ -62,7 +59,6 @@ await esbuild.build({
outfile: `build/${pkg.name}.js`,
banner: { js: `${banner}\n${requireShim}` },
footer: { js: footer },
logLevel: "info",
format: "iife",
bundle: true,
globalName,
Expand All @@ -75,7 +71,6 @@ await esbuild.build({
outfile: `build/${pkg.name}.min.js`,
banner: { js: `${banner}\n${requireShim}` },
footer: { js: footer },
logLevel: "info",
format: "iife",
bundle: true,
globalName,
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postprocessing",
"version": "6.21.4",
"version": "6.21.5",
"description": "A post processing library that provides the means to implement image filter effects for three.js.",
"homepage": "https://github.com/vanruesc/postprocessing",
"main": "build/postprocessing.js",
Expand Down Expand Up @@ -67,7 +67,6 @@
]
},
"eslintConfig": {
"root": true,
"extends": "aether"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit ba6276b

Please sign in to comment.