How the rendering pipeline of a Minecraft-like game looks like? OpenGL C++

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

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

  • @tri4ngle
    @tri4ngle 4 месяца назад +19

    12:05 Cannnnnn youuuu feeeelllll myyyyy heaaaaaaaaaaaaaaaaaarttttttttt 🦾

    • @whiteingale
      @whiteingale 4 месяца назад

      your minecraft clone is amazing i am microsoft and i will transfer you the intellectual property for it.👍🪟

  • @user-lz2oh9zz4y
    @user-lz2oh9zz4y 4 месяца назад +41

    You can see this game has a flat Earth because the sun and the stars follow different paths in the sky

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  4 месяца назад +18

      😂😂 or maybe just a wierd galaxy configuration, maybe the sun rotates around the earth

    • @dantheplanner
      @dantheplanner 4 месяца назад +2

      ​@@lowlevelgamedev9330As the Catholic Church predicted. 😂

  • @Yowax
    @Yowax 4 месяца назад +12

    As far as I know, Minecraft makes that effect of darkenning the bottom of the ocean just dimming the sunlight when it passes through water when calculating the voxel lights.

  • @dobrx6199
    @dobrx6199 4 месяца назад +2

    This is amazing, great job!

  • @mauppimusic
    @mauppimusic 4 месяца назад

    I love this channel so much! Your content has been so inspiring! :>

  • @LinguisticMirage
    @LinguisticMirage 4 месяца назад +5

    the skybox looks amazing

  • @pawe721
    @pawe721 2 месяца назад +1

    5:47 Make optimizations so that blocks visible further away that have a light level of 0 are not rendered.
    Or display these blocks as a black box with no texture.

  • @alexandrucoman1082
    @alexandrucoman1082 4 месяца назад +5

    Definitely subscribed to my Romanian Brother❤❤

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

    Your videos are fun!

  • @SuperLlama88888
    @SuperLlama88888 4 месяца назад +1

    This looks amazing!1

  • @user-sb5vt8iy5q
    @user-sb5vt8iy5q 4 месяца назад +2

    Damn that looks better then Minecraft with shader packs

  • @FoZard
    @FoZard 4 месяца назад +1

    super interesting stuff even tho I barely understand anything that is graphics related lol

  • @DeMooniC
    @DeMooniC 3 месяца назад

    This is amazing!
    However, there's something that feels off about this, the way it looks... I can't quite point out what it is, probably something to do with the lighting or ambient occlusion
    I can tell that ambient occlussion is maybe a bit too rough and doesn't seem to have a very smooth transition that blends in well? But that's more minor of an issue, what I see is something else, I feel like there's a lack of contrast similar to how MC looks when you use night vision. I think it's just that MC has way more dark areas than this, so basically, it takes more enclosed spaces than in MC for stuff to become noticeably darker and reach a light level of "0"

  • @platonvin1022
    @platonvin1022 4 месяца назад

    sorry, i did not dive deep into how your water darkening actually works, but if you only need (depth_to_surface_under_water - depth_to_water), then you already (can) have it in "depth peel" stage. For sorted transparent geometry, you can render it normally but check (in fragment shader) against water depth and manually blend with water (and use depth differnce in some way to darken). Hope i helped (but i have 0 experience with rendering transparency, so i probably did not)

  • @ZanyCat
    @ZanyCat 4 месяца назад +3

    Shoutouts to the gigachad at the end!

  • @ohimdabiggestbird
    @ohimdabiggestbird 4 месяца назад +1

    lets gooo minecraft

  • @seanomik6176
    @seanomik6176 4 месяца назад

    You should make a shader preprocessor that combines multiple shader modules into a single one. That quick second of you scrolling through your shader horrified me haha 😅. Either way, great progress!!!

  • @echo_the_developer
    @echo_the_developer 4 месяца назад +1

    I’m learning vulkan for my game engine, maybe I’ll make an mc clone as well

  • @the_foxware
    @the_foxware 4 месяца назад

    Your videos make mojang employees seem incompetent :)

  • @NwnwnwNw-z7m
    @NwnwnwNw-z7m 4 месяца назад +1

    double derivative of depth instead of ambient occlusion

  • @youcef_dev1
    @youcef_dev1 4 месяца назад +1

    looks good and optimized
    but can you do greedy meshing ?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  4 месяца назад

      nope, and honestly It won't improve the perofrmance that much in my case. The vertex shader is the fastest thing there is there + you can't really join much

    • @youcef_dev1
      @youcef_dev1 4 месяца назад

      @@lowlevelgamedev9330 ok

  • @ScarletDemi
    @ScarletDemi 4 месяца назад +2

    Yo. Want some custom block textures? I'm bored.

  • @manuel.7461
    @manuel.7461 4 месяца назад +2

    Use vulcan

  • @letmedwight
    @letmedwight 4 месяца назад

    What is the difference between your game and Minetest?

  • @We4not
    @We4not 4 месяца назад

    Bro this looks like Minecraft Beta but Remastered

  • @zakiydev404
    @zakiydev404 3 месяца назад +1

    how to run your game bro i downloaded your code but i don't know how to run it?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  3 месяца назад

      you can find some instructions here
      github.com/meemknight/GLFWCMakeSetup

  • @chewico3d133
    @chewico3d133 4 месяца назад +1

    I want you to make a collaboration with the cherno

  • @MementoMoriMementoVivere881
    @MementoMoriMementoVivere881 4 месяца назад

    It's all so cool but why is it a bit laggy?

  • @TeofilBejan-lg2rt
    @TeofilBejan-lg2rt 4 месяца назад +2

    Nice tutorial, do you know how can I start learning opengl?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  4 месяца назад +1

      yes, learn opengl.com and jamie king opengl playlist on youtube 💪💪 + the links on my discord in the resources and I have like a video or 2 on the topic

  • @natanmaia3575
    @natanmaia3575 4 месяца назад +1

    One question: are you sure you're allowed to share a build that uses Minecraft's textures? Isnt that a violation of copyright or something?
    I know the pig is kinda unique, at least.

  • @spiralhalo
    @spiralhalo 4 месяца назад

    I think the "expensive" version is fine as it is. How expensive can it be anyway?

  • @alexandrucoman1082
    @alexandrucoman1082 4 месяца назад

    what are the minimum requirements for this game to run on 60 fps?

  • @adminiget1602
    @adminiget1602 3 месяца назад

    download link please? or will you only release the source code so almost no one can play it?

  • @c.e.o.9985
    @c.e.o.9985 4 месяца назад

    Tare!

  • @AntonioNoack
    @AntonioNoack 4 месяца назад

    @0:50 theoretically incorrect. As long as it's sorted it's fine. You just need to use a different formula.

  • @noPROgame_dev
    @noPROgame_dev 4 месяца назад

    can you make tutorials

  • @faysalstit697
    @faysalstit697 4 месяца назад

    why don't you make minecraft Shaders run in your game

  • @Alex_Mercer_
    @Alex_Mercer_ 4 месяца назад +3

    idk why u use opencl while u got vulkan, heck modded minecraft (vulkanmod) is better that way

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  4 месяца назад +10

      because I don't know vulkan lol 😂😂

    • @AntonioNoack
      @AntonioNoack 4 месяца назад

      Vulkan is a pain to get working and correct, while OpenGL runs on everything.

    • @brianb2308
      @brianb2308 4 месяца назад

      Doesn't run on MacOS

    • @brianb2308
      @brianb2308 4 месяца назад

      But not knowing it is a good reason to not use it

    • @iglobrothers645
      @iglobrothers645 4 месяца назад

      ​@@brianb2308that's a feature