Try it
- Toggle the "RTX ON" button at the bottom of this page for a before/after.
- Resize any of the card, or your window browser window, see how it's all real time.
Use it
Add to your webpage:
<script type="importmap">
{
"imports": {
"webgl-path-tracing": "https://webgl-path-tracing.steren.fr/webgl-path-tracing.js",
"sylvester": "https://webgl-path-tracing.steren.fr/sylvester.src.js",
"rtx-on": "https://rtx-on.steren.fr/rtx-on.js"
}
}
</script>
<script type="module">
import * as rtx from 'rtx-on';
window.onload = function() {
rtx.on();
}
</script>
or install using npm:
npm install rtx-on