Rendering difference between player and editor #263
nbouteme
announced in
! Welcome - readme first!
Replies: 1 comment
-
Seems to be fixed now, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When I'm viewing my patch on the website, it displays weirdly. At first I thought it was because I rewrote some ops and it wasn't allowed to execute for security reasons, but even after exporting to local html/css/js files, it still displayed incorrectly. I thought so because it looked close to what the scene would render like if I removed my custom ops.
Here's the code. The first one is just the ClearColor op, but modified to not clear the Depth-Buffer (it was hardcoded in the original), and the second one allows a finer control over the Blending Mode (the builtin one lacks reverse subtraction)
ops.js
Here's what it looks like on the player
And how it looks in the editor.
You can see for yourself [here](https://cables.gl/p/py0dB4
Beta Was this translation helpful? Give feedback.
All reactions