Adding Realistic Shadows to my 3D Python Game

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

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

  • @DaFluffyPotato
    @DaFluffyPotato  7 месяцев назад +27

    To be clear, I meant that the concept behind shadowmapping is easy to understand, but coding it is more difficult (which is why I said "the implementation takes more thought").
    If you're interested in implementing shadowmapping yourself, LearnOpenGL.com has a good tutorial:
    learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping
    Also, wishlist Yawnoc: store.steampowered.com/app/2824730/Yawnoc :)

  • @plvr_strg
    @plvr_strg 7 месяцев назад +20

    Man, I think you've become so experienced dev you got "the curse of knowledge" cognitive bias, cause this is not easy.

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +4

      The code isn't, but the concept is. I was referring to the concept.

  • @therealbfg123
    @therealbfg123 7 месяцев назад +40

    AYOOOOO, YOU GOT A FUCKING SPONSOR!! LETS GOOOOOOOOOOOOOO

  • @protosevn
    @protosevn 7 месяцев назад +2

    Next time someone says you can only make games with C/C++ or that interpreted languages are too slow I'll just link them this, excellent job!

    • @atiedebee1020
      @atiedebee1020 7 месяцев назад +1

      The problem starts when you start doing things that are even slightly more CPU dependent. Just like you wouldnt decode audio using python, its a lot slower to do things like chunk generation with it.
      Although i am sure most languages that are at least compiled will get adequate performance for these use cases, not just C/C++.

    • @protosevn
      @protosevn 7 месяцев назад

      @@atiedebee1020 yeah you’re right, just tired of people thinking C/C++ is the only way, I use C++ just because that’s the golden standard but it’s not the only fast language around the block anymore.

    • @TheSugarCherryDev
      @TheSugarCherryDev 7 месяцев назад

      ​@@protosevnThats why I started use love2D and lua, and I got a lot of things to work on this, like an Engine and a programming language. sometimes I need C if I want low level control but most of the time, I use pure lua

  • @6IGNITION9
    @6IGNITION9 5 месяцев назад

    That grayscale foggy hills scene is a really nice aesthetic.

  • @6IGNITION9
    @6IGNITION9 5 месяцев назад

    "I'm doing that thing you're not supposed to do"
    You mean the thing Notch did? Turned out pretty well for him ;)

  • @theattic0098
    @theattic0098 7 месяцев назад +8

    I can't believe I caught this so fast. I love graphics programming.

  • @theyummydogo
    @theyummydogo 7 месяцев назад +1

    Voxel engines with teeny tiny voxels that have a color rather than a texture and use high definition scans of real world places must the coolest applications of voxel rendering.

  • @Trojan073
    @Trojan073 7 месяцев назад +2

    Any video that aims to make a Minecraft style game is a banger tbh

  • @LoggyDev
    @LoggyDev 7 месяцев назад +1

    Bro, i love your worth ethic so much.

  • @mkdoz
    @mkdoz 7 месяцев назад +3

    this was very fun to watch :)

  • @stoppls1709
    @stoppls1709 7 месяцев назад +1

    Congrats on the brilliant sponsor, love the tutorials

  • @gracechan3039
    @gracechan3039 7 месяцев назад

    I’m not at a level to understand a lot of what you’re talking about but I like hearing you break down the concepts.
    Also, if this was the first video of yours I saw I could easily say, easy for him. He’s a genius.
    Maybe you are a genius but also, from your videos it’s clearly a lot of hard work for over ten years building on top of itself. It feels like a really candid view of how a talented normie becomes S tier.

  • @costelinha1867
    @costelinha1867 7 месяцев назад +1

    FluffyPotato showcasing his projects while also desperately trying not to come across as just flexing.

  • @Booshly
    @Booshly 6 месяцев назад

    Great vid mate

  • @cinnamon3556
    @cinnamon3556 7 месяцев назад +1

    i cant begin to understand how youre doing this in python, its amazing, great job

  • @Overlycomplicatedswede
    @Overlycomplicatedswede 7 месяцев назад

    My dude finally getting sponsors and pulling in the big money 🗣️ congrats

  • @beurrdi
    @beurrdi 7 месяцев назад +3

    bro you are so good !!!!!

  • @noTmeDev
    @noTmeDev 7 месяцев назад +3

    Bro is cooking as always

  • @aecl4287
    @aecl4287 7 месяцев назад

    Even though I don’t use python nor do I plan on doing so, I just can’t get enough of your videos man. Keep up the amazing work! ❤🎉

  • @xzippyzachx
    @xzippyzachx 7 месяцев назад +2

    Shaders go brrrrrrrrrrrrrrrrrr

  • @ceo-potato
    @ceo-potato 7 месяцев назад +3

    bros brain is bigger than my head

  • @3ler4never
    @3ler4never 7 месяцев назад +1

    You should do a tutorial series, and show off everything you can make. This stuff is cool

  • @codecaine
    @codecaine 7 месяцев назад +1

    Nice work

  • @The_Pabloburrito
    @The_Pabloburrito 7 месяцев назад

    I love your videos, youre such a huge inspiration for me! As always, great video!

  • @cosmicdive
    @cosmicdive 7 месяцев назад

    Damn you're a wizard!

  • @seffffee1333
    @seffffee1333 6 месяцев назад

    If this game was a rts type strategy game like EU4 & total war & Vic 2 & manor lord
    I’d buy it and play it forever especially if it has mods and possible planet jumping ect

  • @Skeffles
    @Skeffles 7 месяцев назад

    This looks fantastic, although sounds like a huge project. How long are you expecting to work on this?

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      Just a little on the side here and there. I don't have a specific end point in mind.

  • @sizzlet01
    @sizzlet01 7 месяцев назад +2

    Do you ever plan to release your planet generator like the rest of your games? I'd love to take a peek into how something like that is even done.

  • @echo_the_developer
    @echo_the_developer 7 месяцев назад

    i would reccomend getting mojo installed, its python and even backwards compatible but alot faster, im 99% sure ur using vs code and that even has its own mojo sdk!

  • @HA11EYS_COM3T
    @HA11EYS_COM3T 7 месяцев назад

    Hey just saying it would be better to use fractal perlin noise as that would generate more natural and good-looking landscapes and is what Minecraft itself uses iirc

  • @ImaLearner-vr3gy
    @ImaLearner-vr3gy 4 месяца назад

    Hi, how did you begin game dev?
    Im having a problem saving up for my game dev setup

  • @arturmanarindejesus8950
    @arturmanarindejesus8950 6 месяцев назад

    Im planing to enter the game dev world, but i dont know the right way to approach... As you recommended, ill do It by the scratch, but what language should i use? Is python a useful 2d & 3d gaming language? Should i try some C# or C++? Thank ya and srry If my english sucks, its not my native language.

  • @NotPensive
    @NotPensive 6 месяцев назад

    🔥

  • @zeperoxx
    @zeperoxx 7 месяцев назад

    You're insane

  • @official-phuh
    @official-phuh 7 месяцев назад

    I wonder if the GLSL and python coding could be combined into a usable shading module that could be pip installed for the less... "DaFluffyPotato" of us

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      ModernGL is very easy to use. I have a tutorial for it.

  • @Pythonista24x7
    @Pythonista24x7 7 месяцев назад

    What are you using for networking? Websockets or custom stuff?

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      My own framework built on sockets.

  • @IvanPopelyshev
    @IvanPopelyshev 7 месяцев назад

    Is your point of origin fixed?
    In infinite world you have to shift shadow matrix correctly, otherwise there's unstability of shadows when the sun goes down

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      It doesn't move in this demo, but it will in the project I'm working on next.

  • @astrogamercraft
    @astrogamercraft 6 месяцев назад

    What resources did you use to get a 3d scene to render in moderngl?

  • @gabrielward7289
    @gabrielward7289 7 месяцев назад +2

    i love you your the best

  • @StepTheGlow
    @StepTheGlow 7 месяцев назад

    bro u literally teach us better than 1 month of teacher lol

  • @Moltenbacon-t2k
    @Moltenbacon-t2k 7 месяцев назад

    how often do you use higher level math in basic game development?

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      once every other month for what I do. almost never for "basic" stuff.

  • @KDDFKUFEI
    @KDDFKUFEI 5 месяцев назад

    What’s about performance

  • @Generic_Games
    @Generic_Games 7 месяцев назад

    Good vid

  • @S0ggyW3tW4t4r
    @S0ggyW3tW4t4r 7 месяцев назад

    Ok soo thats what a shader is

  • @lamanqo834
    @lamanqo834 7 месяцев назад

    Making a minecraft clone in python with moderngl is very frustrating and challenging, i suggest switching to c++ while you still can, it is much harder but offers so many more features.

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      no

    • @lamanqo834
      @lamanqo834 7 месяцев назад

      @@DaFluffyPotato ok

    • @ImaLearner-vr3gy
      @ImaLearner-vr3gy 4 месяца назад

      Lol.
      C++ fan, trying to change programming history by giving advice

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

      @@ImaLearner-vr3gy xd

  • @jeremynaumann3055
    @jeremynaumann3055 7 месяцев назад

    shadowmapping now seems to be less complex but plz try ray-tracing because it needs less buffers for some cool effects like reflections,transperency,shadows and portals.. you can stylize raytracing too that it looks like minecraft. or add it as a option. a compute raytracer isn't too hard to implement if you use ChatGPT

  • @epicgeometro
    @epicgeometro 5 месяцев назад

    Woah woah woah since when does python use semicolons?

    • @DaFluffyPotato
      @DaFluffyPotato  5 месяцев назад

      Those are shaders

    • @epicgeometro
      @epicgeometro 5 месяцев назад

      @@DaFluffyPotato oh okay I was very confused

  • @Inkety
    @Inkety 7 месяцев назад +1

    The background music is
    Blue Dream by Cheel

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      That's not the original. It's Blue Dream by Cheel.

    • @Inkety
      @Inkety 7 месяцев назад

      @@DaFluffyPotato oh, okay. that's where I found it first.

  • @Lighter7900music
    @Lighter7900music 7 месяцев назад

    Haven't watched the video yet but I see no python but C#

  • @DuoDevs-Studios
    @DuoDevs-Studios 7 месяцев назад +1

    hay how was your day?

    • @DaFluffyPotato
      @DaFluffyPotato  7 месяцев назад +1

      busy

    • @DuoDevs-Studios
      @DuoDevs-Studios 7 месяцев назад

      @@DaFluffyPotato i know that feeling lol just rember to take time to youself :)

  • @brockdaniel8845
    @brockdaniel8845 7 месяцев назад +1

    Python, now I know why my pc burns with these mods 😮

    • @judef
      @judef 7 месяцев назад

      Minecraft mods aren’t in python

  • @obinho71
    @obinho71 7 месяцев назад

    I don't think you could say this is "just Python"... But it is remarkable anyway.

  • @Merserissugoi
    @Merserissugoi 7 месяцев назад +1

    pls make a minecraft mmo.. i would hand over all my money

  • @dlanodspot
    @dlanodspot 7 месяцев назад +2

    First... I guess😂

  • @senex_0372
    @senex_0372 7 месяцев назад

    Bro stop it!! You are way too far.
    I’m feeling stupid

  • @totoshampoin
    @totoshampoin 7 месяцев назад

    When you said "actually just python", I expected you to replace glsl with python.
    Disappointed.

  • @WheatIsBetterThanBeetroot
    @WheatIsBetterThanBeetroot 7 месяцев назад +3

    9 views in 1 minute bro fell off