Hiding texture repetition in Godot 4 | Tutorial

Поділитися
Вставка
  • Опубліковано 31 лип 2024
  • Github repo: github.com/quwatz/tiling-text...
    All textures taken from textures.com
    _______
    Resources:
    for this I basically had to transform my blender knowledge into godot
    so
    • How to Tile a Texture ...
    and also
    • UE4 - Materials and UV...
    _______________
    sorry for the voice inconsistencies and anything else that might've annoyed you
    _______
    video chapters :
    0:00 - Intro
    0:36 - Scene set-up
    1:59 - Adding direct variations
    5:39 - Changing HSV
    7:03 - Manipulating the UVs
    8:55 - Rotating UVs nodes
    10:36 - Rotating UVs code
    12:35 - Rotating by noise
    13:58 - Hiding seams
    15:14 - Randomize scaling
    15:30 - Tangent
    15:50 - Bye

КОМЕНТАРІ • 49

  • @shoq9711
    @shoq9711 9 місяців тому +43

    This is called Stochastic Texturing if someone wants to read more on it.

  • @orthodoxcaveman5819
    @orthodoxcaveman5819 11 місяців тому +15

    I've been looking for something like this for months, great work

  • @spectrecular9721
    @spectrecular9721 Місяць тому +2

    Very interesting, thanks!
    P.S.: I love your voice. It's a bit reminiscent of a good guy misunderstood as a cartoon villain, and I'm all for it

    • @quwatz
      @quwatz  Місяць тому +1

      lol this made my day thank you very much

  • @AntonioRColon
    @AntonioRColon 6 місяців тому +2

    This is absolutely fantastic! I learned so much about the shader tool and the logic structure behind each component.Thank you for the share!

  • @dastanghaedrahmati6977
    @dastanghaedrahmati6977 10 місяців тому +1

    absolutely awesome video! very clear instructions. well done bunch of thanks !

  • @coolboygfx
    @coolboygfx 4 місяці тому

    Awesome synthetisation of all approaches and very well explained. Thank you !!

  • @mapopi-mm
    @mapopi-mm 9 місяців тому

    Clear explanations on a great topic, thank you!

  • @GreatCollapsingHrung
    @GreatCollapsingHrung 11 місяців тому +3

    This is a really useful video. Thank you!

  • @AquaMan_YouTube
    @AquaMan_YouTube 10 днів тому

    woow, this is just incredible, very cool, thanks for sharing

  • @efraimdeluxe
    @efraimdeluxe 8 днів тому

    Great video, keep 'em coming!

  • @xthejetx
    @xthejetx 3 місяці тому +1

    You move a little fast for the sake of really understanding the process, but this is still super helpful. Thanks!

  • @badcircle
    @badcircle 8 місяців тому

    awesome video! Thank you for such a great breakdown

  • @GEZMO_DEV
    @GEZMO_DEV 5 місяців тому

    Brooo u r a legend ur 2 tutorial vids are 🔥🔥🔥🔥 thx

  • @mohsenzare2511
    @mohsenzare2511 11 місяців тому +3

    Amazing tutorial

  • @lucapagano3685
    @lucapagano3685 6 місяців тому

    Nice video! thanks for the tutorial!

  • @onphone5272
    @onphone5272 2 місяці тому

    Wow, this is what I'm looking for. Thanks mate

  • @TheDuckCow
    @TheDuckCow 5 місяців тому

    Not sure how I didn't know about the tip at 11:09, that's awesome and will help me a ton

  • @duskcus
    @duskcus 9 місяців тому +5

    The production quality of your video’s are incredible.

    • @mbg4681
      @mbg4681 7 місяців тому

      And I love how it supports the depth of the information provided! The visual aids are top-notch. Not to mention the completeness and structure of the presentation itself. It's like every time things start go over my head and I wonder "but how am I supposed to do THAT?!" he immediately says "And here's how you do that...".
      No joke, this literally happened to me twice during the procedural dungeon tutorial.

  • @Caio_Raphael
    @Caio_Raphael 2 місяці тому

    great tutorial!

  • @renatorossarola
    @renatorossarola 9 місяців тому

    this is gold! Thanks

  • @Asguardian22
    @Asguardian22 2 місяці тому

    Wow! Excellent tutorial. You've officially made me feel stupid! 😂 But you've also made me think and want to spend a lot more time understanding what you explained here, so Bravo! And thanks for sharing your knowledge.

  • @johnmeadow9579
    @johnmeadow9579 10 місяців тому

    Great video.

  • @datmars2398
    @datmars2398 9 місяців тому

    Very good and easy to follow tutorial with perfect examples = follow + like

  • @user-sk4fx2tk1x
    @user-sk4fx2tk1x 8 місяців тому

    this is so helpful

  • @jeffreystephens2658
    @jeffreystephens2658 3 місяці тому

    I'm making a procedural game, so this is going to help me tremendously.

  • @fishnpotatoes
    @fishnpotatoes 9 місяців тому +2

    not 100% sure whether this wouldn't fit the target audience for this tutorial, but the transformation is a little more explicit as a transformation if you first do it with a 2x2 matrix like uv *= mat2(cos(t), -sin(t), sin(t), cos(t));

  • @watercat1248
    @watercat1248 9 місяців тому

    i have i few ideas for the tailing system in not sure how to do that in godot because i use unity but i thing thos will be useful
    1. make i lod Texture what i mean by that if make some form off distance and you have 2 or more texture you able to make the texture to changes for one to the other base on the distance
    the idea is to use the detail texture for close distance and wean you are far away to use texture with less nostale taling and because it's difrent texture you able to use whatever scale and texture you wand.
    2. the second method i find (this not necessarily solved the taling but still i nice mechanic i find) in 3D game engine ther is one system the call mip maps this system usually generate texture with different base on the screen resolution the see this texture Hoover it is possible to make your own mip mapping that means you able to add or remove detail for thos mip map in the order to do that you have to use a image format call .dds and use a software that you make you edit thos files format one software i find that works for this type off work is gimp you able to export your image file to .dds then one off the make you generate mip map and after that you have to open this image file gimp in the order to edit mip map one last step wean you save make press the export to dds and then use the option use existing mip map im not sure if work in godot though.

  • @picodrift
    @picodrift 6 місяців тому

    Is there anyway to recreate poligon uber mapping from blender and put it in godot

  • @loxyrakkary3502
    @loxyrakkary3502 5 місяців тому

    The Make resurcive for the second noise doesn't seem to do anything.

  • @millerbyte
    @millerbyte 9 місяців тому

    Well presented, well explained; Thanks a lot! If I may ask, how did you make the animated "slides" around the 2:15 mark?

    • @quwatz
      @quwatz  9 місяців тому +1

      Thank you! Everything you see is created in blender. So that is just a 2d plane object that I've animated to go down. It's crazy how much you can do with blender , besides 3d.

    • @millerbyte
      @millerbyte 9 місяців тому +1

      100% -- I love blender!

  • @MrBellrick
    @MrBellrick 5 місяців тому

    How do I deal with resizing the plane and still wanting it to retain the texturesize as with this solution the shader also gets distorted when I for example make it longer on the x axis?

    • @quwatz
      @quwatz  5 місяців тому +1

      scaling using the scale tool will stretch the uvs too, to get correct uv's you'd have to change the dimensions in the mesh property itself (in this case a quadmesh).

  • @shaon1412
    @shaon1412 7 місяців тому

    Can this be used in tilemaps?

  • @SamiO-si4mc
    @SamiO-si4mc 9 місяців тому

    Thankyou! :) (Liked! (+ Sub))

  • @user-zn7uu6xq4h
    @user-zn7uu6xq4h 4 місяці тому +1

    please apply low pass filter to the audio

    • @whoeverofhowevermany
      @whoeverofhowevermany 13 днів тому

      Oof and a simple compressor. The volume spikes are seriously severe

  • @pwhv
    @pwhv 6 місяців тому +1

    guys take in count that this is going to impact in the performance due to calculations, just bake the textures and then apply them on the models directly.

  • @Broncosoozie
    @Broncosoozie Місяць тому

    I'm sorry if this ends up as a duplicate comment but I can't find my original question. I tried doing this in 2D but was unable to get it to work with either a MeshInstance2D or a TextureRect, it would just put the image in the corner and stretch out the edge pixels, it was very strange. Is this possible to do in 2D to get a tiling background effect while still hiding the repetition?

    • @quwatz
      @quwatz  Місяць тому +1

      hey I'll try to replicate this in 2d and will let you know if there's something that needs to be done differently. pretty sure it's just a matter of enabling the correct texture flags on import though

  • @DodgerEcho
    @DodgerEcho 9 місяців тому

    Hi! I make a starry sky using a shader in godot. Please tell me how in the shader when creating a starry sky when applying a texture and applying uv = vec2 to it(EYEDIR.x, EYEDIR.z) to get rid of stretching the texture on the horizon, is there any way to shift the uv coordinates of the EYEDIR slightly down to hide these defects, so that the stars closer to the horizon would not be distorted? Google unfortunately did not help.
    This video bug ua-cam.com/video/OFRtexD0eSk/v-deo.html

  • @halimghani
    @halimghani 5 місяців тому

    Need more views and subscriber

  • @jaddd
    @jaddd 11 місяців тому +1

    that was help thanks
    i have QUSTION
    can u do something like this shader_type of grass
    this guy
    WIP Grass 3D Pixel Art :)
    how all grass are same color but when get shadow can all grass change and that dose note effects other grass
    grass to grass no shadow but object to grass shaow