-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding effects in three.js while using stereo-effect #2
Comments
Hello Theun. This problem is a little difficult. Effekseer needs to draw() two times in VR apps. Could you modify StereoEffect.js? Original StereoEffect.js code
Modified StereoEffect.js code
Original StereoEffect.js code
Modified StereoEffect.js code
Original your code (maybe)
Modified your code
Thanks. |
Thank you for your reply! But I seem to be missing the onpostrender function you are using? |
onpostrender is your variable added to arguments at "render" function in StereoEffect.js. |
First of all, thanks for the great software,
I will probably make a tutorial on how to use it in opentoonz later.
Right now I'm coding a VR app in three.js, and I am using your excellent library. I've implemented it into my game, and it seems to work pretty good. I am having a bit of trouble with changing mesh textures, when the effects are running though, but I already found a fix for that. (Using sprites seems to work, so I changed the textured meshes into sprites.)
My biggest problem lies in the fact that when I use the stereo effect of three.js the effekseer effects are only visible in just one of the two render windows. In my case the right renderwindow.
Do you have a suggestion for a fix for that problem?
Kind regards, Theun
The text was updated successfully, but these errors were encountered: