I coded a Minecraft Shader with Distant Horizons - Here's How

Поделиться
HTML-код
  • Опубликовано: 27 июл 2024
  • Support future videos! :)
    buymeacoffee.com/samuelgerkin
    Learn from the ground up how to code a Minecraft shader with GLSL! Or just come along for the ride to see what goes into reimagining Minecraft's visuals!
    Theme Song “Sam with a Plan” by
    Hunter Gerkin
    huntergerkin.bandcamp.com
    The finished shader! (in alpha) - Requires labPBR resource pack for reflections!
    modrinth.com/shader/daybreak-...
    3Blue1Brown Linear Alegebra Series: (for vector and matrix fluency):
    • Essence of linear algebra
    Space Conversion Cheat Sheet:
    shaderlabs.org/wiki/Coordinat...
    Optifine Doc (applies to Iris too):
    github.com/sp614x/optifine/bl...
    ShaderDoc (for Iris):
    github.com/IrisShaders/Shader...
    Shader Labs (a great resource for learning about Minecraft shaders with a discord community!)
    shaderlabs.org/wiki/Main_Page
    Mods:
    www.irisshaders.dev/
    modrinth.com/mod/indium/versions
    modrinth.com/mod/sodium/versions
    modrinth.com/mod/fabric-api/v...
    modrinth.com/mod/distanthoriz...
    Timestamps:
    00:00 - start
    00:19 - setup time!
    01:17 - shader creation begins!
    01:53 - adding first files
    02:29 - first code! + vertex shader
    03:12 - optifine doc
    03:40 - vaPosition in + vertex shaders explained
    05:19 - frag shaders explained
    05:55 - frag shader code
    06:52 - first visualization + spaces explained
    08:01 - converting vertex pos space
    09:00 - adding textures
    11:23 - adding terrain stage for offset
    12:21 - adding curved horizon
    14:49 - creating include files
    16:45 - adding transparency
    18:11 - adding foliage color
    21:00 - adding sky shader
    22:53 - adding lights
    29:51 - color spaces
    30:41 - distant horizons!
    36:00 - distant horizons fog
    40:21 - What's next
  • ИгрыИгры

Комментарии • 457

  • @samuelgerkin
    @samuelgerkin  24 дня назад +63

    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!

  • @Desenrad
    @Desenrad Месяц назад +278

    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  Месяц назад +31

      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 23 дня назад +6

      That end goal is something I've wanted to see for a while now. Best of luck!

    • @samuelgerkin
      @samuelgerkin  23 дня назад +5

      @@OrangeC7 Thank you! :)

    • @0AThijs
      @0AThijs 16 дней назад

      Not just shaders, a lot of other things actually. We need more people like this.

  • @romrom83
    @romrom83 Месяц назад +324

    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!

  • @bank8489
    @bank8489 Месяц назад +215

    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  Месяц назад +30

      I'm glad I could make it available now! If only I had made it 13 years ago!

    • @MoonLight-xk8dh
      @MoonLight-xk8dh Месяц назад +1

      I agree same for me

  • @eisen161
    @eisen161 Месяц назад +90

    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  Месяц назад +17

      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!

  • @agcgerkin
    @agcgerkin Месяц назад +198

    Thanks!

  • @MCSteve_
    @MCSteve_ Месяц назад +52

    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 :)

  • @_void825
    @_void825 24 дня назад +9

    I had no clue I wanted to make my own shader until I watched this vid lol

  • @fyoncleanimates
    @fyoncleanimates Месяц назад +38

    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  Месяц назад +7

      Thank you so much! I'm glad it was fun! :)

  • @juhtahel7454
    @juhtahel7454 29 дней назад +11

    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  28 дней назад +2

      Thank you so much!! :D I enjoyed it a lot though the editing was pretty intensive haha; more coming soon!

    • @juhtahel7454
      @juhtahel7454 28 дней назад

      @@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 :)

  • @teamredstudio7012
    @teamredstudio7012 Месяц назад +33

    I've been trying to learn this since I was a little kid. It's funny how a random day RUclips recommends this video and it's exactly what I was looking for!

    • @samuelgerkin
      @samuelgerkin  Месяц назад +7

      I hope it was helpful! :) Happy learning!

  • @1ups_15
    @1ups_15 Месяц назад +7

    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  28 дней назад +1

      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 :)

  • @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  Месяц назад +3

      Thank you so much! I’m glad I could make it!

  • @truestbluu
    @truestbluu Месяц назад +2

    the flat out reference is crazy, i used to play that as a kid

  • @redstoneninja3375
    @redstoneninja3375 Месяц назад +15

    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 Месяц назад +1

      Woah

    • @Twong3lol
      @Twong3lol Месяц назад +2

      @@NinetyEight418 thats like 50 cents btw

    • @samuelgerkin
      @samuelgerkin  Месяц назад +5

      I will, thank you so much for the super thanks! :D

    • @Twong3lol
      @Twong3lol Месяц назад +1

      @bedantaEva I didn't check lol

    • @Capybarrrraaaa
      @Capybarrrraaaa 18 дней назад

      @@Twong3lol It's a lot to give for some. What matters is that they gave

  • @4louisMC
    @4louisMC Месяц назад +9

    Wow! That’s all I can say…
    Amazing detail, amazing storytelling, amazing explanations and amazing results!
    10/10 for sure!

    • @samuelgerkin
      @samuelgerkin  Месяц назад +1

      Wow, thanks so much! I'm glad you enjoyed!

  • @antonpieper
    @antonpieper Месяц назад

    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 :)

  • @dawidhyeshua7138
    @dawidhyeshua7138 19 дней назад +1

    I don't even code but YOU'R VOICE AND THE WAY U EXPLAIN THINGS IS SO CALMING!!!!

  • @publicalias8172
    @publicalias8172 27 дней назад +3

    This is a gem. actually exactly what I was looking for thanks for sharing your knowledge! :)

    • @samuelgerkin
      @samuelgerkin  24 дня назад

      Thanks so much! So glad you enjoyed and could learn something! :)

  • @kono152
    @kono152 16 дней назад +1

    oh my god ive been looking for so long for how to make minecraft shaders!! i'm very excited for the follow up video

  • @l0krys
    @l0krys Месяц назад +2

    I love how friendly the explanation sounds, keep it up 😁

  • @dragoni_penguin
    @dragoni_penguin Месяц назад +3

    just when i was about to give up after messing with shader dev, i find this :o
    thank you

  • @kadenhansen
    @kadenhansen Месяц назад +1

    Thanks so much for this video! This is something I never thought I could let alone want to learn!

  • @minecraftzest4343
    @minecraftzest4343 Месяц назад +2

    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  Месяц назад

      I’m so glad I could help you learn!

  • @thegooberator
    @thegooberator Месяц назад +3

    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  Месяц назад +1

      Wow, thanks so much!

    • @thegooberator
      @thegooberator Месяц назад +1

      @@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  Месяц назад +1

      @@thegooberator fantastic! Where are you pressing CTRL F?

    • @thegooberator
      @thegooberator Месяц назад

      @@samuelgerkin file explorer after extracting the 1.8.7.jar

  • @Salamander002
    @Salamander002 Месяц назад +7

    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  Месяц назад +3

      It’s a great way to learn! It’s how I did!

  • @zed.lmaooo
    @zed.lmaooo 11 дней назад

    Literally just Minecraft Bob Ross: calming voice and making beautiful landscapes out of thin air

  • @notzappt
    @notzappt Месяц назад +20

    this will change how accessible distant horizon shaders will be! 👍

  • @CreativeDrone
    @CreativeDrone Месяц назад +22

    Welcome back! Was just looking for your next upload

    • @samuelgerkin
      @samuelgerkin  Месяц назад +4

      Thank you! :) Go for it, you can do it! It’s so much fun! Hope this video helps!

  • @RealPnoenix
    @RealPnoenix Месяц назад +6

    Didn't expect to watch shader coding today, but I did enjoy it lol

  • @AndreiTache
    @AndreiTache Месяц назад +7

    This has to be the coziest programming tutorial!

    • @samuelgerkin
      @samuelgerkin  Месяц назад +4

      I think Sebastian Lague has me beat for sure haha, but thanks so much!

    • @AndreiTache
      @AndreiTache Месяц назад

      @@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 Месяц назад +9

    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  Месяц назад +2

      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

  • @JoeFly2009
    @JoeFly2009 Месяц назад +3

    I just love this video. It explains everything so well and it's straight to the point.

    • @samuelgerkin
      @samuelgerkin  Месяц назад

      Thanks so much! Glad you enjoyed!

  • @lordender_kitty_official
    @lordender_kitty_official Месяц назад

    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.

  • @peppidesu
    @peppidesu Месяц назад +9

    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 Месяц назад +4

      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 Месяц назад +2

      Besides that in general divergent execution only gets really bad if at least one of the code branches is fairly long/expensive.

    • @samuelgerkin
      @samuelgerkin  Месяц назад +1

      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!

  • @user-if9sl8wk7i
    @user-if9sl8wk7i Месяц назад +2

    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  28 дней назад

      Definitely, experimentation is a great way to learn!

  • @sirbackenbart
    @sirbackenbart Месяц назад +1

    This is by far the easiest to follow and best to understand tutorial explaining shaders with the example of Minecraft, wow. Incredible work!

  • @Quisspo
    @Quisspo 8 дней назад

    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

  • @shsupercm
    @shsupercm Месяц назад +2

    Extremely informative and explained in a very understandable way. Great job on this video

    • @samuelgerkin
      @samuelgerkin  Месяц назад

      Thanks so much! I'm glad it was informative!

  • @Elca_Gaming
    @Elca_Gaming Месяц назад +1

    This is such a good tutorial, actually makes jump onto my PC and try it for myself!

    • @samuelgerkin
      @samuelgerkin  16 дней назад

      Go for it! It’s a lot of fun!

  • @bongo3997
    @bongo3997 Месяц назад +1

    What a great video! Keep these up! Subbed.

  • @frittex
    @frittex Месяц назад +1

    this video is so wholesome for no reason at all

  • @ZealousVR446
    @ZealousVR446 22 дня назад +1

    I myself have been recently fascinated by coding and this all looks so complex and makes me wanna learn code more!

  • @Raskoll
    @Raskoll Месяц назад +3

    This was a perfect video. It fully enabled me to indulge in this new time sink lol

    • @samuelgerkin
      @samuelgerkin  Месяц назад +1

      Thank you so much! Have fun coding! :)

  • @Woflje
    @Woflje Месяц назад +2

    This video helps me sleep. So soothing.

  • @BenedictGS
    @BenedictGS Месяц назад +1

    You are doing great work here

  • @RandomGamer1486
    @RandomGamer1486 Месяц назад +3

    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  Месяц назад +1

      Haha I guess I could have made it a little more clear. I'm so glad I could help though!

  • @MrTiger-ud7jc
    @MrTiger-ud7jc Месяц назад +1

    really well explained dude great video!!! enjoyed watching it eventho didnt programm along

  • @SWAGCOWVIDEO
    @SWAGCOWVIDEO 28 дней назад +1

    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  24 дня назад

      Glad you enjoyed! I love 3d graphics :)

  • @baileydasis5624
    @baileydasis5624 Месяц назад

    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

  • @xori
    @xori Месяц назад +1

    i've always wondered how shaders worked and this was really interesting!

  • @atevejdjy1007
    @atevejdjy1007 Месяц назад +1

    Great Video! :D

  • @JosephMlika
    @JosephMlika Месяц назад +3

    Thank you! Always superior videos!

  • @SuperLlama88888
    @SuperLlama88888 Месяц назад +2

    This is an amazing explanation! Thank you!

  • @LinkiePup
    @LinkiePup 19 дней назад +1

    I learned more about coding already in 4 minutes 3 seconds in than half the coding tutorials on youtube.
    Thank you.

  • @user-akrturuus
    @user-akrturuus Месяц назад +1

    Absolutely Amazing ❤

  • @WhatsDown
    @WhatsDown 21 день назад

    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!

  • @stevebook8134
    @stevebook8134 Месяц назад +1

    Extremely well done tutorial

  • @Joemanboy
    @Joemanboy 17 дней назад

    idk why but your voice made my day so much better

  • @Jamtri
    @Jamtri Месяц назад +3

    This video appeared at just the right time for me. Amazing

  • @zinixoficial
    @zinixoficial 18 дней назад

    You are like the hipyo tech of minecraft. keep it up!

  • @TheMasterOfSafari
    @TheMasterOfSafari Месяц назад

    This will be very useful, thanks a lot!

  • @Console.Log01
    @Console.Log01 Месяц назад +1

    I'm definitely trying this once I have time.

  • @Drew-Chase
    @Drew-Chase 9 дней назад

    Thank you!!! I've been looking for a good resource for learning GLSL Shaders for Minecraft. Everything seems to be very unity-centric.

  • @intense_network
    @intense_network Месяц назад

    We need another video/playlist explaining ALL about coding a shader including explanation of everything of the code

  • @DARKAR_117
    @DARKAR_117 Месяц назад +1

    my man needs to keep doing this kind of tutorials :)

  • @efeloteishe4675
    @efeloteishe4675 Месяц назад +1

    Nice video, thanks to you I was able to implement shadows to my engine.

  • @guromenst4416
    @guromenst4416 Месяц назад +2

    Even though i barely understand anything of what you've said, i really appreciate your hard work and dedication

    • @samuelgerkin
      @samuelgerkin  Месяц назад +1

      Thank you! If you set your mind to it you can figure it out!

  • @woofcaptain8212
    @woofcaptain8212 Месяц назад +3

    This is legitimately really good

    • @samuelgerkin
      @samuelgerkin  Месяц назад

      I’m so glad you enjoyed it!! :)

  • @blockblockgoose
    @blockblockgoose Месяц назад +2

    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 :)

  • @atheneite
    @atheneite Месяц назад +4

    grass is always greyer on the other side

  • @GuillemPoy
    @GuillemPoy Месяц назад +1

    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)

  • @kelvenlim9283
    @kelvenlim9283 Месяц назад +1

    I like your explanations

  • @ThereLmves
    @ThereLmves Месяц назад +1

    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  Месяц назад +1

      I’m glad you enjoyed! :) it will be fun to see where the shader ends up!

  • @cleverman383
    @cleverman383 Месяц назад +3

    Great work!

  • @blenderguy5659
    @blenderguy5659 Месяц назад +2

    This is an amazing video!

  • @senmiramendoris338
    @senmiramendoris338 Месяц назад +1

    Though im probably never gonna use this its still interesting to watch and keep stuff in mind.

  • @aliabbadi5707
    @aliabbadi5707 Месяц назад +2

    loved the tutorial
    feels good learning how to code 👍

    • @samuelgerkin
      @samuelgerkin  Месяц назад

      I’m glad you enjoyed it! Coding is amazing :)

  • @PaulChauvat
    @PaulChauvat Месяц назад +1

    Very interesting !

  • @HumanGamer
    @HumanGamer Месяц назад +4

    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  Месяц назад +2

      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 Месяц назад +2

      @@samuelgerkin ah I see, thanks!

  • @nobodyatall9999
    @nobodyatall9999 Месяц назад +1

    Nasa called. They want all their super computers back.

  • @joegurt9053
    @joegurt9053 28 дней назад +1

    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  24 дня назад

      I'm glad I could help you learn! :)

  • @integer__
    @integer__ Месяц назад +3

    this is gold

  • @superguy654
    @superguy654 Месяц назад +3

    I love how youre using modrinth

  • @Lanausse
    @Lanausse 5 дней назад

    Im just gonna keep watching this at night until i remember to watch this in the morning

    • @Lanausse
      @Lanausse 4 дня назад

      Night 3 bbyyyyyy

  • @nebulae_wanderer
    @nebulae_wanderer Месяц назад +2

    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.

  • @loftyTHEOWNER
    @loftyTHEOWNER Месяц назад +2

    This video is pure gold!

  • @Brickselot
    @Brickselot Месяц назад +1

    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

  • @coooperrr
    @coooperrr 17 дней назад

    I didn't know mr. boss was so skilled in creating shaders

  • @NeaLx86
    @NeaLx86 Месяц назад +2

    i've found that its better to keep the foliage color as a vec4, as certain mods (such as litematica) use vertex colors with transparency

  • @MarieDasKaetzchen
    @MarieDasKaetzchen 8 дней назад

    Wow, this is so well explained, my PC is now dying of good graphics~

  • @superJK92
    @superJK92 3 дня назад

    You deserve way more subscribers then you currently have

  • @BytePix2
    @BytePix2 21 день назад

    this is probably the only video that's actually helpful

  • @bank8489
    @bank8489 Месяц назад +2

    this video is absolutely remarkable

  • @real2late
    @real2late Месяц назад +1

    I don't play Minecraft anymore. Still watched the entire thing, this is super useful for gamedev as well!

  • @Jhrickgamer
    @Jhrickgamer Месяц назад +1

    You should make modmaking tutorials, you're amazing at this

  • @miamicenter12
    @miamicenter12 Месяц назад

    Oh man, I just had an Computer Graphics lessons at University, and this video explains it all better (we pretty much had very same topics as we've been learning OpenGL)
    This makes up for an proper Educational material

  • @Henrix1998
    @Henrix1998 Месяц назад

    Well this was awesome

  • @navee_193
    @navee_193 Месяц назад +1

    I watched the entire video, I didn't understand anything, I liked anyways. Graphics coding is just mysterious for me.

  • @felixmueller7341
    @felixmueller7341 Месяц назад +3

    Is there going to be a part 2? learning about how to implement normal maps would be cool.