+1 vote

Sorry, I am new to Godot so I think I made a very stupid mistake.

I was trying to make a "page flip" effect for my game. I did some research and decided to do this with a shader. I followed https://github.com/jeremyz/godot-stuff/blob/master/pageflip/pageflip.shader for my shader.

My plan is to run the entire scene in a viewport, get the texture from viewport, and send it into a shader. My code worked, I moved a few nodes around, and it broke again. Nothing shows up on my screen now and the script attached to an object in the viewport is not responding to my inputs (no debug print statements coming out).

I think I am probably using viewport in the wrong way. I did not use a viewport controller because when I use it both the controller object and the texture from shader script showed up on the screen. Am I doing something very stupid here?

in Engine by (13 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.