it says error for line 29: vec2 depth_data = getDepth(SCREEN_UV, DEPTH_TEXTURE, INV_PROJECTION_MATRIX); EDIT: it seems that I have problem with return values in general, in all shaders that assign returned values get the same error. what is the exact version of godot are you using?
You can see the version somewhere in the bottom middle of Godot this shader should work with any Godot 4 version, but they may have changed something for the latest versions, ask in the Godot discord they are very helpful.
This is a really good tutorial! i only have one issue, on objects that are further away, the shader messes up and it just goes to pure black, any way you could help me out? cheers
Is this method guaranteed to post process everything behind it? It would seem that in some cases objects that could be in front of it could be rendered normally (or not at all?) depending on how or if the engine sorts the geometry.
I have a minor problem with the shader where there is a circle around the player that is solid black. I think it's a problem with my camera setup but has anyone seen something similar?
I was having a similar issue where if something is at a bad camera angle it becomes all black it's probably the shader having a hard time figuring out where the edge is or something you could try and see if other shaders work better for you. godotshaders.com/?s=outline
I was looking for an explanation of how to MAKE a post-processing outline shader... I guess I'll keep looking.
Wow, don't really work too much with shaders, but this worked perfectly for my project!
fas easy and clear, I'm here hoping to see you grow your channel, you deserve it bro
I appreciate that!
Awesome! This will come in real handy for me. Keep it up my guy :p
Glad to hear that! 😁 Thanks for the support. 😎
OMFG Thank you spent way to long trying to get a toon outline
thank you so much mannnn i've been looking for how to add a 3D shader to the whole scene for weeks
Amigo, tu alcançou o Brazil, vc não sabe o quanto procurei por isso
Thanks mate! great video and easy to understand!
amazing video! definitely gonna help me out in the future
nice, the outline needs to get scaled with distance though, so details are visible when close, and objects further away dont become line clusters
Yeah i found this other one that is a lot better godotshaders.com/shader/high-quality-post-process-outline/
sweet thank you! I am trying to get a nice moebius effect and this has helped with my basic attempts
Glad I could help!
it says error for line 29: vec2 depth_data = getDepth(SCREEN_UV, DEPTH_TEXTURE, INV_PROJECTION_MATRIX);
EDIT:
it seems that I have problem with return values in general, in all shaders that assign returned values get the same error.
what is the exact version of godot are you using?
You can see the version somewhere in the bottom middle of Godot this shader should work with any Godot 4 version, but they may have changed something for the latest versions, ask in the Godot discord they are very helpful.
Wait, a post processing outline is a mesh plane with a material shader?? That’s it??
Yeah, pretty much
This is a really good tutorial! i only have one issue, on objects that are further away, the shader messes up and it just goes to pure black, any way you could help me out? cheers
I had the same issue with this specific shader. The only advice I can give is to try some other outline shaders and see what works best. Best of luck!
Thanks
Is this method guaranteed to post process everything behind it? It would seem that in some cases objects that could be in front of it could be rendered normally (or not at all?) depending on how or if the engine sorts the geometry.
If you enable the “Flip Faces” option and add the maximum extra cull margin it should effect everything.
Awesome!
Can i have an tutorial for player movement the one you are using here
Here it is :) ua-cam.com/video/EP5AYllgHy8/v-deo.htmlsi=2Zi4EPWxoraxJByA
I have a minor problem with the shader where there is a circle around the player that is solid black. I think it's a problem with my camera setup but has anyone seen something similar?
I was having a similar issue where if something is at a bad camera angle it becomes all black it's probably the shader having a hard time figuring out where the edge is or something you could try and see if other shaders work better for you. godotshaders.com/?s=outline
Godot is the goat
Godot 4 is truly the🐐
our paths cross,yet again
this was super helpful, thanks!
How to copy and paste code
In the top right there is a copy button, but you can also just select all the code and copy it
When will you activate windows?
Never lol im very frugal