Skip to content

Commit be1ac6b

Browse files
authored
fix removed webglmultiplerendertargets in 172 (#40)
compat ported from pmndrs/react-postprocessing
1 parent e1fd318 commit be1ac6b

File tree

12 files changed

+322
-427
lines changed

12 files changed

+322
-427
lines changed

dev-server.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,21 @@ const __dirname = dirname(__filename);
1616
// Serve static files from the 'public' directory (update the path as necessary)
1717
app.use(express.static(__dirname));
1818

19+
app.get('/', (_req, res) => {
20+
res.status(200).send(`
21+
<!DOCTYPE html>
22+
<body>
23+
<h1>N8AO</h1>
24+
<ul>
25+
<li><a href="/example">Example</a></li>
26+
<li><a href="/example_postprocessing">Example Postprocessing</a></li>
27+
</ul>
28+
</body>
29+
`);
30+
});
31+
1932
const port = process.env.PORT || 8080;
2033

2134
app.listen(port, () => {
2235
console.log(`Server running on port ${port}`);
23-
});
36+
});

dist/N8AO.js

Lines changed: 64 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/N8AO.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/N8AO.js

Lines changed: 64 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/N8AO.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)