I coded a Minecraft Shader with Distant Horizons - Code Your Own Shader Part 1

  Рет қаралды 204,545

Samuel Gerkin

Samuel Gerkin

Күн бұрын

Пікірлер: 601
@samuelgerkin
@samuelgerkin 6 ай бұрын
CORRECTION: Distant Horizon's lightmapCoords should in fact be gl_TextureMatrix[1] * gl_MultiTexCoord1.xy, not gl_TextureMatrix[2] * gl_MultiTexCoord2.xy. Thanks to Bálint for pointing this out!
@theseangle
@theseangle 3 ай бұрын
Why did it still work for you though?
@samuelgerkin
@samuelgerkin 3 ай бұрын
@@theseangle it’s been a while, but I think either it didn’t work and I didn’t notice, or I fixed it offscreen and forget to show it
@TigerGaming-kp9yn
@TigerGaming-kp9yn Ай бұрын
Balint is famous
@Desenrad
@Desenrad 6 ай бұрын
There isn't enough people showing how shaders are made. Every designer makes their own theme. But for years now I have not been able to just find the perfect shader that looks good and performs well. I want to understand what it takes to have good visuals and good performance. You did an amazing job with this part 1. I really hope you end up going over all the features as well as ray tracing eventually. Not enough people do this sort of content. It is so nice to have a helping hand show you how its done so the user can just focus on the creative aspect. You've gained a sub! My goal with your help, is to make a shader that works well with VR and Distant Horizons.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you so so much for the super thanks!! I am so glad this video helped you learn! Next part will add reflections, shadows etc, then I plan to go into ray traced shadows from light sources, then full ray tracing! All the best on your shader, VR + Distant Horizons sounds fantastic! Looking forward to seeing it! :)
@OrangeC7
@OrangeC7 6 ай бұрын
That end goal is something I've wanted to see for a while now. Best of luck!
@samuelgerkin
@samuelgerkin 6 ай бұрын
@@OrangeC7 Thank you! :)
@0AThijs
@0AThijs 6 ай бұрын
Not just shaders, a lot of other things actually. We need more people like this.
@SirFunky
@SirFunky 4 ай бұрын
its looks rubbish though?
@romrom83
@romrom83 6 ай бұрын
man it's crazy how well you explain things, i've followed many tutorials for similar things where i could barely comprehend anything, and with this one it feels like i have years of experience, love it!
@samuelgerkin
@samuelgerkin 6 ай бұрын
I’m glad it helped! 😀
@Зл́
@Зл́ 5 ай бұрын
true
@vulpine3431
@vulpine3431 4 ай бұрын
The reason for that is that some people just make 50 minute videos where they basically copy paste code from the already completed project, without actually teaching anything. This video actually teaches you how shit gets done.
@agcgerkin
@agcgerkin 6 ай бұрын
Thanks!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you!! :D
@bank8489
@bank8489 6 ай бұрын
i remember when i was trying to get into making shaders all the way back in 1.7.10, there was pretty much zero tutorials and you could only really do it if you already had general experience with advanced graphics programming. something like this amazing video would have been so nice to have for 13 year old me
@samuelgerkin
@samuelgerkin 6 ай бұрын
I'm glad I could make it available now! If only I had made it 13 years ago!
@MoonLight-xk8dh
@MoonLight-xk8dh 6 ай бұрын
I agree same for me
@theseangle
@theseangle 3 ай бұрын
​@@samuelgerkin "13 years ago" man 🌚
@dummybugstudios6450
@dummybugstudios6450 6 ай бұрын
This is not just a minecraft tutorial. They literally could have shown this video as part of the graphics module in my computer science degree and it would have been wildly instructive. The least I can do is like and subscribe. Thank you for this wonderful resource.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you so much! I’m glad I could make it!
@MCSteve_
@MCSteve_ 6 ай бұрын
As someone who has gone through a lot of the headache of learning graphics programming (in general) on my own... Im envious I did not have a resource that's this clear and succinct as this video, among other things, amazing! Was able to learn some little things here and there, so thank you. Minecraft Shaders is definitely added on the list of rainy day projects thanks to this.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thanks so much! I had to go through a lot of headache too learning, so I'm so glad I could provide a good resource! Enjoy that rainy day project :)
@theseangle
@theseangle 3 ай бұрын
Minecraft shaders & Iris is apparently a very good framework to get started with 3D graphics programming. Otherwise you basically either gotta start from ground zero - making a game without an engine or resort to using some very high level non realistic too abstracted WEBGL based environment
@eisen161
@eisen161 6 ай бұрын
Amazing! Now, instead of being unable to run other people's shaders, I can build my own shader that I'm unable to run! Fun video, though. I always wondered how it worked.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Now you know! The cool part about building your own shader is you can optimize it's features and performance to work on most any hardware!
@zed.lmaooo
@zed.lmaooo 6 ай бұрын
Literally just Minecraft Bob Ross: calming voice and making beautiful landscapes out of thin air
@samuelgerkin
@samuelgerkin 5 ай бұрын
high praise! Thank you!
@Roman.sbrrrrrrr
@Roman.sbrrrrrrr 6 күн бұрын
Bro I was looking for a video like this like a year ago, and couldn't find a single one, but I just now found this! so excited!
@fyoncleanimates
@fyoncleanimates 6 ай бұрын
Even tho i don't wanna make a shader, or even tho im not related to coding, i watched your video and had fun, you explaining very well, i look forward to your other videos! (I also love how you freezed the frame for the people with epilepsy or motion sickness. Big Respect.)
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you so much! I'm glad it was fun! :)
@juhtahel7454
@juhtahel7454 6 ай бұрын
What a well put together video! I wish more people made videos that combine the knowledge they are trying to teach, visualization of what you are teaching (both code and the impact it has on how MC looks), as well as audio (crystal clear, not rambling, well thought out, gives insight into what you can look up to learn more). Here's hoping you enjoyed making this and would enjoy making other high quality content like it.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you so much!! :D I enjoyed it a lot though the editing was pretty intensive haha; more coming soon!
@juhtahel7454
@juhtahel7454 6 ай бұрын
@@samuelgerkin I had a feeling it was hard to make so I'm glad you saw that in the last sentence, you definitely shouldn't feel like you have to polish your videos like you did this one, but it was appreciated :)
@redstoneninja3375
@redstoneninja3375 6 ай бұрын
This was a wonderful video, i easily understood everything and didn't even realise it was an hour long, definitely subscribed please make more such videos
@NinetyEight418
@NinetyEight418 6 ай бұрын
Woah
@Twong3lol
@Twong3lol 6 ай бұрын
@@NinetyEight418 thats like 50 cents btw
@samuelgerkin
@samuelgerkin 6 ай бұрын
I will, thank you so much for the super thanks! :D
@Twong3lol
@Twong3lol 6 ай бұрын
@bedantaEva I didn't check lol
@Capybarrrraaaa
@Capybarrrraaaa 6 ай бұрын
@@Twong3lol It's a lot to give for some. What matters is that they gave
@teamredstudio7012
@teamredstudio7012 6 ай бұрын
I've been trying to learn this since I was a little kid. It's funny how a random day KZbin recommends this video and it's exactly what I was looking for!
@samuelgerkin
@samuelgerkin 6 ай бұрын
I hope it was helpful! :) Happy learning!
@Roza12891
@Roza12891 5 ай бұрын
Bro, you should teach us integrate some optimization methods to its limits into this because there are many people who want to play Minecraft with raytracing but just have a GTX 1050 Ti, so I hope you can do that as well.
@samuelgerkin
@samuelgerkin 5 ай бұрын
Absolutely! I just got back from a vacation and I was writing a ray tracing acceleration structure for fun, that would be great to implement later! And thanks so much! :)
@leiocerayt
@leiocerayt 5 ай бұрын
@@samuelgerkin How was your vacation? Was it relaxing?
@torbens.811
@torbens.811 6 ай бұрын
Please I beg you I need the next part 🙏
@samuelgerkin
@samuelgerkin 6 ай бұрын
@@torbens.811 Thank you so much!! It’s nearly all filmed, editing is next!
@torbens.811
@torbens.811 6 ай бұрын
@@samuelgerkin YAY
@1ups_15
@1ups_15 6 ай бұрын
I am a begginner with shader programming and your video really got me into minecraft shaders, thanks to you I am now developping my own shader and it's SO interesting, I've already made some pretty cool stuff, and I can't wait for other parts of the serie because I have absolutely NO clue how I could implement shadows and some other stuff lol
@samuelgerkin
@samuelgerkin 6 ай бұрын
That’s fantastic! Glad I could help you great cool things! Next part will be all about lighting so that will add a lot of tools to your toolbox :)
@_void825
@_void825 6 ай бұрын
I had no clue I wanted to make my own shader until I watched this vid lol
@4louisMC
@4louisMC 6 ай бұрын
Wow! That’s all I can say… Amazing detail, amazing storytelling, amazing explanations and amazing results! 10/10 for sure!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Wow, thanks so much! I'm glad you enjoyed!
@FosyArt
@FosyArt Ай бұрын
This is basically a step by step totorial, i never watch these when i dont need help but this was so entertaining to watch casually!
@Hazenrdpk2612
@Hazenrdpk2612 5 ай бұрын
Have been looking for this for along time, keep these tutorials up and thanks!
@Elca_Gaming
@Elca_Gaming 6 ай бұрын
This is such a good tutorial, actually makes jump onto my PC and try it for myself!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Go for it! It’s a lot of fun!
@dragoni_penguin
@dragoni_penguin 6 ай бұрын
just when i was about to give up after messing with shader dev, i find this :o thank you
@dawidhyeshua7138
@dawidhyeshua7138 6 ай бұрын
I don't even code but YOU'R VOICE AND THE WAY U EXPLAIN THINGS IS SO CALMING!!!!
@truestbluu
@truestbluu 6 ай бұрын
the flat out reference is crazy, i used to play that as a kid
@CreativeDrone
@CreativeDrone 6 ай бұрын
Welcome back! Was just looking for your next upload
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you! :) Go for it, you can do it! It’s so much fun! Hope this video helps!
@frittex
@frittex 6 ай бұрын
this video is so wholesome for no reason at all
@minecraftzest4343
@minecraftzest4343 6 ай бұрын
This is perfect timing! I was just about to give up on learning shaders, thank you so much! I’m surprised there isn’t any other tutorials out there
@samuelgerkin
@samuelgerkin 6 ай бұрын
I’m so glad I could help you learn!
@hex8751
@hex8751 4 ай бұрын
Wow, i have quite literately never seen a video on making minecraft shaders. Its like a hidden thing no one talks about but everyone uses. Thank you for this great tutorial. Always have wondered how shaders were made.
@samuelgerkin
@samuelgerkin 3 ай бұрын
Yeah I'm surprised there haven't been more videos on this topic! I'm glad I could make this one!
@kono152
@kono152 6 ай бұрын
oh my god ive been looking for so long for how to make minecraft shaders!! i'm very excited for the follow up video
@JoeFly2009
@JoeFly2009 6 ай бұрын
I just love this video. It explains everything so well and it's straight to the point.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thanks so much! Glad you enjoyed!
@thegooberator
@thegooberator 6 ай бұрын
This is probably the best programming tutorial I’ve seen just in general. Not slow or fast, straight to the point. Very informative. 👍
@samuelgerkin
@samuelgerkin 6 ай бұрын
Wow, thanks so much!
@thegooberator
@thegooberator 6 ай бұрын
@@samuelgerkin I was able to recreate a few of the 1.8 super secret setting shaders. I also learned that you can just ctrl f and find the old shaders frag and vert files, although they are openGL version 120.
@samuelgerkin
@samuelgerkin 6 ай бұрын
@@thegooberator fantastic! Where are you pressing CTRL F?
@thegooberator
@thegooberator 6 ай бұрын
@@samuelgerkin file explorer after extracting the 1.8.7.jar
@echo_the_developer
@echo_the_developer 2 ай бұрын
Hey man! Ive been learning glsl and wanted to learn it in a more fun way than just colouring triangles. thanks alot for this video!
@samuelgerkin
@samuelgerkin 2 ай бұрын
Minecraft is a great way to learn! Glad you enjoyed!
@l0krys
@l0krys 6 ай бұрын
I love how friendly the explanation sounds, keep it up 😁
@maninthebags
@maninthebags 6 ай бұрын
Thank you, This helped so much, actually i thought this was one of those videos where they make one and don't show how to do it. so when i saw the video i was like i should make my own shader and found nothing, this was until gave up and just watched the video, to my surprise it was a tutorial. Yet again thank you for helping a lot of people starting on making shaders. cant wait for the next video.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Haha I guess I could have made it a little more clear. I'm so glad I could help though!
@publicalias8172
@publicalias8172 6 ай бұрын
This is a gem. actually exactly what I was looking for thanks for sharing your knowledge! :)
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thanks so much! So glad you enjoyed and could learn something! :)
@sirbackenbart
@sirbackenbart 6 ай бұрын
This is by far the easiest to follow and best to understand tutorial explaining shaders with the example of Minecraft, wow. Incredible work!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thanks so much! :)
@AndreiTache
@AndreiTache 6 ай бұрын
This has to be the coziest programming tutorial!
@samuelgerkin
@samuelgerkin 6 ай бұрын
I think Sebastian Lague has me beat for sure haha, but thanks so much!
@AndreiTache
@AndreiTache 6 ай бұрын
@@samuelgerkin His vids are goated, but my impostor syndrome kicks into overdrive watching them so I can't say I'm very relaxed lol Looking forward to your next videos!
@Spiderfffun
@Spiderfffun 6 ай бұрын
i thought this was gonna be a "i did some mining off camera" type thing but you actually explained it all! I love it! edit: btw do you have the vanilla looking shader with DH support? i'd like to try messing around with that when i get the time, but i dont really want to spend the time copying what you did if you have it.
@samuelgerkin
@samuelgerkin 6 ай бұрын
I've released it now, here it is! modrinth.com/shader/daybreak-shader/versions Just unzip to look at the code! It may be a little messy, haven't fine-tuned it just yet
@salby69
@salby69 4 ай бұрын
I have never felt happier watching a KZbin video
@Raskoll
@Raskoll 6 ай бұрын
This was a perfect video. It fully enabled me to indulge in this new time sink lol
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you so much! Have fun coding! :)
@RealPnoenix
@RealPnoenix 6 ай бұрын
Didn't expect to watch shader coding today, but I did enjoy it lol
@samuelgerkin
@samuelgerkin 6 ай бұрын
I'm so glad you did! :D
@antonpieper
@antonpieper 6 ай бұрын
This really has been the best Minecraft shader tutorial/programming session I have seen yet! I am looking forward to seeing the more complex shader effects :)
@Woflje
@Woflje 6 ай бұрын
This video helps me sleep. So soothing.
@LinkiePup
@LinkiePup 6 ай бұрын
I learned more about coding already in 4 minutes 3 seconds in than half the coding tutorials on youtube. Thank you.
@kadenhansen
@kadenhansen 6 ай бұрын
Thanks so much for this video! This is something I never thought I could let alone want to learn!
@HumanGamer
@HumanGamer 6 ай бұрын
make sure to cover block outlines in part 2. also I would actually like to see how vanilla's ambient occlusion could be replicated.
@samuelgerkin
@samuelgerkin 6 ай бұрын
I will! I'll add ambient occlusion too! I forgot to mention that Minecraft's default ambient occlusion is included in vaColor, so it got added when we added the foliage color! You can turn off the default AO by telling optifine/iris with "const float ambientOcclusionLevel = 0.0f;" in any fragment shader
@HumanGamer
@HumanGamer 6 ай бұрын
@@samuelgerkin ah I see, thanks!
@Salamander002
@Salamander002 6 ай бұрын
oh cool, I was thinking about learning computer graphics but didn't really think about applying what I learn in minecraft. will visit this idea later after reading a book or two
@samuelgerkin
@samuelgerkin 6 ай бұрын
It’s a great way to learn! It’s how I did!
@SWAGCOWVIDEO
@SWAGCOWVIDEO 6 ай бұрын
I thought this was going to be a super high level show and tell but it's actually a fantastic primer on 3d graphics. Pleasantly surprised me.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Glad you enjoyed! I love 3d graphics :)
@ZealousVR446
@ZealousVR446 6 ай бұрын
I myself have been recently fascinated by coding and this all looks so complex and makes me wanna learn code more!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Go for it! :)
@possiblyzslot838
@possiblyzslot838 4 ай бұрын
A new definitive shader tutorial! Thank you for putting in the effort to show what you actually do, I clicked on this thinking it was just a devlog at first.
@samuelgerkin
@samuelgerkin 4 ай бұрын
Thanks so much! I know there was hardly any content on this when I was learning it the first time so I hope this helps!
@shsupercm
@shsupercm 6 ай бұрын
Extremely informative and explained in a very understandable way. Great job on this video
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thanks so much! I'm glad it was informative!
@Quisspo
@Quisspo 5 ай бұрын
This is amazing! I always wanted to get into programming my own shader for a long time, but most existing tutorials are really lacking compared to this one I hope at some point you'll also do a little bit about clouds and possibly multiple cloud layers. I love shaders with extensive and realistic clouds, so that would be interesting to learn about
@samuelgerkin
@samuelgerkin 5 ай бұрын
Thanks so much, glad it was helpful! I have not done work with clouds before but I might get into it in the future!
@baileydasis5624
@baileydasis5624 6 ай бұрын
My guy you explained this so well and so thoroughly that I'm entirely certain even people with no coding experience would understand exactly what you were talking about the entire time
@lordender_kitty_official
@lordender_kitty_official 6 ай бұрын
this is the best shader tutorial i've ever found. i've been wanting to get into shaders for probably over a year. at least since i started modding. but nothing has ever made sense to me and this is the first thing i've seen that has made anything make actual sense. so thank you and i hope that you continue with more videos in this series because i would love to learn more about this. only annoying thing though with graphics and rendering stuff is that i was home schooled and don't really know how to do a lot of the crazy math, as well as my computer having such an ass graphics card that i can't even run DH. but i will definitely work towards improving my knowledge and pc setup, lol.
@joegurt9053
@joegurt9053 6 ай бұрын
My horrible linear algebra professor has made me terrified of anything related to computer graphics. This video partially helped me overcome those fears :)
@samuelgerkin
@samuelgerkin 6 ай бұрын
I'm glad I could help you learn! :)
@guromenst4416
@guromenst4416 6 ай бұрын
Even though i barely understand anything of what you've said, i really appreciate your hard work and dedication
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you! If you set your mind to it you can figure it out!
@woofcaptain8212
@woofcaptain8212 6 ай бұрын
This is legitimately really good
@samuelgerkin
@samuelgerkin 6 ай бұрын
I’m so glad you enjoyed it!! :)
@xori
@xori 6 ай бұрын
i've always wondered how shaders worked and this was really interesting!
@Jamtri
@Jamtri 6 ай бұрын
This video appeared at just the right time for me. Amazing
@samuelgerkin
@samuelgerkin 6 ай бұрын
I'm glad! Enjoy! :)
@ThereLmves
@ThereLmves 6 ай бұрын
Its crazy how understood nothing, was never interested in making shaders, probably never will, never even thought of programming, yet watched this entire video from begining to end, actually enjoyed it, understood nothing, yet understood everything at the same time because he explains stuff very well, and his calm voice tone just attracts your attension for some reason.. i really cant wait for the next part of this, and im really interested into seeing jow the shader turns out now lol
@samuelgerkin
@samuelgerkin 6 ай бұрын
I’m glad you enjoyed! :) it will be fun to see where the shader ends up!
@peppidesu
@peppidesu 6 ай бұрын
17:15 avoid if statements in GPU code. GPU cores are grouped into so-called warps. cores in the same warp must execute the same instruction, always, except for cores that are disabled by a mask. If two cores in the same warp branch differently, one core has to wait for the other core to finish executing its branch before it can continue execution. This is called predicated execution, and it is one of the biggest performance killers in shader code. For reference, I implemented bounding box checking on the GPU once for a ray tracer, and it performed WORSE, because cores that exited early had to wait for the other cores to finish anyway, and all cores had to do additional computations.
@fleroviux
@fleroviux 6 ай бұрын
You're not wrong in general, however I don't think it's really applicable here. That kind of if-statement is the standard way to implement an alpha test and it's going to converge extremely well (just don't use a super noisy texture), meaning that more often than not all threads in a warp will take the same branch. The execution will only diverge in regions where locally there are some fragments that pass the alpha test and some that don't.
@fleroviux
@fleroviux 6 ай бұрын
Besides that in general divergent execution only gets really bad if at least one of the code branches is fairly long/expensive.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Definitely, just keeping it simple since the performance concerns aren't major here and it's easier to learn the logic using if statements when you're starting out. I'll mention that in a future video though!
@SuperLlama88888
@SuperLlama88888 6 ай бұрын
This is an amazing explanation! Thank you!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you!
@HarpreetSingh-xg2zm
@HarpreetSingh-xg2zm 4 ай бұрын
Thank you so much. Was looking for a tutorial to start learning shaders
@samuelgerkin
@samuelgerkin 3 ай бұрын
Glad I could help!
@JosephMlika
@JosephMlika 6 ай бұрын
Thank you! Always superior videos!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thanks so much! :D
@MrTiger-ud7jc
@MrTiger-ud7jc 6 ай бұрын
really well explained dude great video!!! enjoyed watching it eventho didnt programm along
@samuelgerkin
@samuelgerkin 6 ай бұрын
I’m glad you enjoyed! :)
@BenedictGS
@BenedictGS 6 ай бұрын
You are doing great work here
@stevebook8134
@stevebook8134 6 ай бұрын
Extremely well done tutorial
@-CookieDev-
@-CookieDev- 5 ай бұрын
i like videos like this, when you make mistakes you show them and you laugh them off, very cool video that i didnt understand because i dont plan on doing this. im gonna subscribe!! :)
@samuelgerkin
@samuelgerkin 5 ай бұрын
So glad you enjoyed! Thanks so much!
@Console.Log01
@Console.Log01 6 ай бұрын
I'm definitely trying this once I have time.
@BuraziZami
@BuraziZami 5 ай бұрын
you have a great knack for making complex topics fun! ‍♂️
@bongo3997
@bongo3997 6 ай бұрын
What a great video! Keep these up! Subbed.
@blockblockgoose
@blockblockgoose 6 ай бұрын
Tysm, I have been wanting to try out shader coding for a while, and I think this video will help me. I'm gonna use emacs though becasue I think it would be fun to learn both shader code and emacs side by side :)
@samuelgerkin
@samuelgerkin 6 ай бұрын
Sounds fun! Enjoy! :)
@paulojose7568
@paulojose7568 6 ай бұрын
Bro casually explaining shader development like even young people would understand. I'm definitely following the series to learn how all this magic works
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you! I’m glad you found it helpful! It’s a beautiful system to learn!
@ginodianna-h1z
@ginodianna-h1z 6 ай бұрын
idk why but your voice made my day so much better
@oliver-x2m8l
@oliver-x2m8l 6 ай бұрын
can''t wait until the next one, do we have a general eta?
@samuelgerkin
@samuelgerkin 6 ай бұрын
not yet unfortunately, but it's deep in the works!
@PiotrBarcz
@PiotrBarcz 5 ай бұрын
Finally someone did it, unreal, thank you.
@efeloteishe4675
@efeloteishe4675 6 ай бұрын
Nice video, thanks to you I was able to implement shadows to my engine.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Nice!
@bank8489
@bank8489 6 ай бұрын
this video is absolutely remarkable
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you so much!
@WhatsDown
@WhatsDown 6 ай бұрын
I have almost no clue what you're talking about, but I still somehow understand what's going on. Great tutorial, and I'm sure this is going to help many others in the future!
@loftyTHEOWNER
@loftyTHEOWNER 6 ай бұрын
This video is pure gold!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thanks so much! :D
@Brickselot
@Brickselot 6 ай бұрын
I probably will never create a shader myself, but this video is super interesting and gives me uni course vibes. The difference to a uni course, is that this teacher can actually explain quite well
@samuelgerkin
@samuelgerkin 6 ай бұрын
I’m glad you enjoyed :)
@felixmueller7341
@felixmueller7341 6 ай бұрын
Is there going to be a part 2? learning about how to implement normal maps would be cool.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Working on it now! :)
@aliabbadi5707
@aliabbadi5707 6 ай бұрын
loved the tutorial feels good learning how to code 👍
@samuelgerkin
@samuelgerkin 6 ай бұрын
I’m glad you enjoyed it! Coding is amazing :)
@user-akrturuus
@user-akrturuus 6 ай бұрын
Absolutely Amazing ❤
@nebulae_wanderer
@nebulae_wanderer 6 ай бұрын
Man i've been looking for an intro like that for a whiiiiile. I've been meaning to try writing a shader and apply a few tricks of my own for quite a bit but couldn't find (and didn't search much) a good introduction to MC shaders.
@DARKAR_117
@DARKAR_117 6 ай бұрын
my man needs to keep doing this kind of tutorials :)
@GuillemPoy
@GuillemPoy 6 ай бұрын
I actually loved the Earth's curvature. I would enable it just enough so you don't see things popping in after loading (including distance horizons)
@intense_network
@intense_network 6 ай бұрын
We need another video/playlist explaining ALL about coding a shader including explanation of everything of the code
@serverzap
@serverzap 6 ай бұрын
this will change how accessible distant horizon shaders will be! 👍
@samuelgerkin
@samuelgerkin 6 ай бұрын
I hope so! :)
@zinixoficial
@zinixoficial 6 ай бұрын
You are like the hipyo tech of minecraft. keep it up!
@blenderguy5659
@blenderguy5659 6 ай бұрын
This is an amazing video!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you so much!
@nobodyatall9999
@nobodyatall9999 6 ай бұрын
Nasa called. They want all their super computers back.
@nozercode
@nozercode 4 ай бұрын
1:07 Poland mentioned (splash text) !
@superJK92
@superJK92 5 ай бұрын
You deserve way more subscribers then you currently have
@samuelgerkin
@samuelgerkin 5 ай бұрын
Thanks so much! :)
@ngelemental2274
@ngelemental2274 6 ай бұрын
11:10 was it flashing at a higher framerate on your end? there's no flashing/flickering at all in the video. 22:45 without any lighting why is there still slight global illumination/shadows on the blocks?
@samuelgerkin
@samuelgerkin 6 ай бұрын
I made the clip into just an image so it wouldn't flash in the video! And my bad, I forgot to mention the ambient occlusion! Minecraft's ambient occlusion is included in vaColor by default, but can be disabled by telling optifine/iris with "const float ambientOcclusionLevel = 0.0f;" in any fragment shader. I'll mention it next video!
@ngelemental2274
@ngelemental2274 6 ай бұрын
@@samuelgerkin dude your frickin awesome!! I’m hyped for your next vid, I don’t really have any LEGIT programming experience but I still manage to understand everything you say, this video was like high budget lookin
@samuelgerkin
@samuelgerkin 6 ай бұрын
@@ngelemental2274 thank you so much! I’m glad I could help you learn! :)
@ngelemental2274
@ngelemental2274 6 ай бұрын
@@samuelgerkin hey before you get too popular theres 1 "very simple" request id like to throw in for part 2 or something to think on, for the screen space reflections not just Minecraft but like all games near the edges of the screen the SSR just stop functioning, maybe when u create yours for the shader you can be the first to make it happen lol maybe by rendering beyond screen space like 17:9 "zoomed" to 16:9 but thats just a theory😂😂
@samuelgerkin
@samuelgerkin 6 ай бұрын
@@ngelemental2274 I think ray tracing would an easier solution! Which I do plan to make in part 3 :)
@cleverman383
@cleverman383 6 ай бұрын
Great work!
@samuelgerkin
@samuelgerkin 6 ай бұрын
Thank you! :)
@Drew-Chase
@Drew-Chase 5 ай бұрын
Thank you!!! I've been looking for a good resource for learning GLSL Shaders for Minecraft. Everything seems to be very unity-centric.
@samuelgerkin
@samuelgerkin 5 ай бұрын
Glad I could help!
@Iwasfoundunharmed
@Iwasfoundunharmed 6 ай бұрын
Though im probably never gonna use this its still interesting to watch and keep stuff in mind.
@חננאלרועיארבל
@חננאלרועיארבל 6 ай бұрын
To everyone who have followed the tutorial and is waiting for the second part: experiment with the code as much as possible(after making a backup of course), it'll make you understand it way better.
@samuelgerkin
@samuelgerkin 6 ай бұрын
Definitely, experimentation is a great way to learn!
23 Tiny Texture Updates Minecraft Should Add
14:59
Skip the Tutorial
Рет қаралды 231 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
I coded ur STUPID ideas to Minecraft
12:40
Element X
Рет қаралды 570 М.
I Made Minecraft Realistic
11:22
mysticat
Рет қаралды 4,1 МЛН
Are Shaders Without Mods Possible?
8:17
Legitimoose
Рет қаралды 1,1 МЛН
Portal with 3 parts: is this possible?
14:12
optozorax
Рет қаралды 185 М.
I made a better Ray-Tracing engine
17:38
NamePointer
Рет қаралды 259 М.
Hmmmmmmmm...
8:11
Phoenix SC
Рет қаралды 375 М.
What Minecraft Looks Like for a Mojang Dev
23:40
EightSidedSquare
Рет қаралды 1,6 МЛН
This Unknown Minecraft Terrain Generation Mod Is Incredible
6:08
AsianHalfSquat
Рет қаралды 977 М.
How Minecraft Was Made
22:03
neo
Рет қаралды 811 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН