Skip to content

Commit

Permalink
fix removed webglmultiplerendertargets in 172 (#40)
Browse files Browse the repository at this point in the history
compat ported from pmndrs/react-postprocessing
  • Loading branch information
nartc authored Jan 11, 2025
1 parent e1fd318 commit be1ac6b
Show file tree
Hide file tree
Showing 12 changed files with 322 additions and 427 deletions.
15 changes: 14 additions & 1 deletion dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,21 @@ const __dirname = dirname(__filename);
// Serve static files from the 'public' directory (update the path as necessary)
app.use(express.static(__dirname));

app.get('/', (_req, res) => {
res.status(200).send(`
<!DOCTYPE html>
<body>
<h1>N8AO</h1>
<ul>
<li><a href="/example">Example</a></li>
<li><a href="/example_postprocessing">Example Postprocessing</a></li>
</ul>
</body>
`);
});

const port = process.env.PORT || 8080;

app.listen(port, () => {
console.log(`Server running on port ${port}`);
});
});
71 changes: 64 additions & 7 deletions dist/N8AO.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/N8AO.js.map

Large diffs are not rendered by default.

71 changes: 64 additions & 7 deletions example/N8AO.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/N8AO.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit be1ac6b

Please sign in to comment.