Godot 4: Scene Depth Explained

  Рет қаралды 1,206

Digvijaysinh Gohil

Digvijaysinh Gohil

Күн бұрын

Пікірлер: 19
@WestonKelliher
@WestonKelliher Ай бұрын
try `render_mode depth_draw_always;` That may fix your problem where you need to sample the depth texture
@iDigvijaysinhG
@iDigvijaysinhG Ай бұрын
Hey, I tried it, but doesn't work, surprisingly though "depth_draw_never" works, so I am going to interpret it like we are exclusively telling not to calculate depth for a fragment and then specifying the depth explicitly which kind of make sense but this is just my head canon. And thank you so much for answering, it is solved because of your reply. You are breath-taking! For future readers, the context is 12:51
@nullvoid3545
@nullvoid3545 2 ай бұрын
Wow. This was super informative! Thanks for the visualized math sections, they help me understand things like the matrix values much better.
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
I am glad you find it helpful.
@Infinte_log
@Infinte_log 2 ай бұрын
Thank you for this video ❤.
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
Hope you enjoyed it.
@Aye_Sid
@Aye_Sid 2 ай бұрын
Bhai audio and video synchronized perfectly 🙂🙌 and thanks for the video.🙏🏻
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
I am glad you liked it 😊
@DarkeyPro
@DarkeyPro 2 ай бұрын
the depth part at the end was very helpful thinks
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
Hope you learned something new.
@Boildroid
@Boildroid 2 ай бұрын
Thank you.
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
My pleasure.
@question_mark
@question_mark 2 ай бұрын
BRO ur my hero 🫡 tysm
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
Thanks
@Foxguyanimation
@Foxguyanimation 2 ай бұрын
Nice tutorial! Very simple and useful. Thx! how to calculate depth differences to make an outline?
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
Thanks and for the outlines check out my latest video.
@kataeah
@kataeah 2 ай бұрын
Hey! Thanks for the tutorial it was super helpful!! I'm still a little confused and struggling to understand the reversed Z axis in Godot 4.3 as I tried to follow along with 4.3 and ended up with the same results as you where objects further away appear more white altho you mentioned they should appear black if further away, am I still getting something wrong? How can I make reversing the Z values easier for myself? I'm new to Godot shaders and would really appreciate any tips!
@iDigvijaysinhG
@iDigvijaysinhG 2 ай бұрын
Hey, 7:40 Reverse Z will only affect the outcome if you are doing anything in clip space. I have converted that to view space hence the output will be identical in all Godot 4.x versions. You can still visualise the depth before converting it to view space to notice the difference. My last example when I am overriding the depth values are in clip space so there your results will differ from mine in 4.3. So TLDR, reverse Z will only affect things if you are doing calculations in clip space.
@kataeah
@kataeah Ай бұрын
@@iDigvijaysinhG Thank you for your reply!!
"Rotate UV" Explained!
16:53
Digvijaysinh Gohil
Рет қаралды 772
Scene Transitions With Compositor Effect! Godot 4.3 Tutorial
20:16
Digvijaysinh Gohil
Рет қаралды 668
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 41 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,6 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 35 МЛН
Godot 4 Raymarching! Modelling Techniques.
18:17
Digvijaysinh Gohil
Рет қаралды 2,9 М.
Clay John: The Future of Rendering in Godot  #GodotCon2023
53:51
Godot Engine
Рет қаралды 33 М.
What's The Deal With Depth Of Field
14:36
Acerola
Рет қаралды 121 М.
Godot 4.3: Vertex Animation Instancing Tutorial
22:02
AntzGames
Рет қаралды 758
Waiting For Godot... 4.4
9:40
Gamefromscratch
Рет қаралды 32 М.
The Most Valuable File Format You've Never Heard Of
15:33
Acerola
Рет қаралды 506 М.
Making Depth For Water Shader In Godot 4 ( Depth Texture )
8:14
Godot Has A New Global Illumination System ...Again
11:48
Gamefromscratch
Рет қаралды 44 М.
Depth Texture explained - Godot
8:10
mohsen zare
Рет қаралды 6 М.
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 41 МЛН