Blender cycles continuous glass dispersion

Поделиться
HTML-код
  • Опубликовано: 4 июл 2024
  • LuxCore: luxcorerender.org/
    Cycles glass shader:
    Gumroad: cgvertexdigital.gumroad.com/l...
    Blend Swap: www.blendswap.com/blend/27713
    Eecee glass shader:
    Gumroad: cgvertexdigital.gumroad.com/l...
    Blend Swap: www.blendswap.com/blend/25759
  • КиноКино

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

  • @DefaultCube
    @DefaultCube 3 года назад +282

    excellent tutorial, don't stop, the community will love this

    • @cgvertex
      @cgvertex  3 года назад +37

      This must be an April Fool's joke, right? However, thank you, I really appreciate it. And you can be sure that I will continue! You should know that there would be no CG Vertex without you. So thanks.
      P.S. Don't watch my previous videos, I shamelessly used the same music as you.
      P.P.S. I don't regret it!

    • @ne99234
      @ne99234 3 года назад +5

      @@cgvertex no its true. excellent shader breakdown.

    • @debjitmajumdar769
      @debjitmajumdar769 3 года назад +3

      CG Vertex and Default Cube ma men be ruling!

    • @tez_l
      @tez_l 2 года назад +4

      You jinxed it cube he disappeared

    • @NirmalveerSingh
      @NirmalveerSingh 2 года назад +3

      and he stopped

  • @Lucas72928
    @Lucas72928 3 года назад +46

    Quantifying the dispersion with the white noise is a really smart idea, great video!

  • @v5games324
    @v5games324 3 года назад +27

    "Your honor, the blender tutor clearly stated, because of the amount of sodium in the air, I was unable to see the yellow light."

  • @michaelsoto9869
    @michaelsoto9869 2 года назад +10

    This is one of the best dispersion tutorials I've seen so far. Great work

  • @rusticagenerica
    @rusticagenerica 2 года назад +5

    Spectacular precision in this video. Long life to you, to your graphics card, and to your RUclips Channel.

  • @limdoha
    @limdoha 11 месяцев назад

    This is a truly amazing approach that goes beyond skills.

  • @Chris_lives_alone
    @Chris_lives_alone 3 года назад

    Since I use eevee I got problems a lot. After I met your channel I became happy again. Thanks. This is amazing too.

  • @mosesknerl6681
    @mosesknerl6681 3 года назад

    Wow, The Blender community does not cease to amaze me.
    Keep up the good work!

  • @andressegoviamarcano2693
    @andressegoviamarcano2693 3 года назад +5

    Wow men! You are not just a blender-user but a blender-scientist o.o amazing investigation dude!

  • @blazraidr
    @blazraidr 2 года назад +1

    Fantastic technique, well done!

  • @coleorloff
    @coleorloff 3 года назад +2

    This is a genius approach.

  • @davidmcsween
    @davidmcsween 9 дней назад

    Brilliant and clear tutorial thanks for taking the time to share

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

    hay bro thanks for including the short history of the sodium, It happened that recently I watched a vid about disneys lost tech and how the merry poppins was shot. Conclusion, foto/video/kinimatografers have to shoot 99% on the Orange backdrops, the light costs of course but most important is the coated glass/crystal that separated the orange from the rest of the colors. Once more thax for the blending tips.

  • @geometron3646
    @geometron3646 Год назад

    Wow! The tutorial and community feel so advanced.

  • @konradm.1372
    @konradm.1372 2 года назад +2

    Thanks! Short and easy to understand! Best tutorial i could found!

  • @ramalshebl60
    @ramalshebl60 Год назад

    i hate physics, but it's people like you that show me why it's useful.. the most amazing pbr glass material ive encountered on the internet.. well done sir!!

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

    Fantastic, the white noise was the key to success and the result looks brilliant. I implemented mine slightly differently but would never have got there without this video. I am also going to work on getting the violet end of the spectrum into the mix without compromising the white of the base material. I think it can be done by including it between the blue and black, and then putting the inverse colour (opposite side of the optical colour wheel) between the black and red at the other end. I'll try that first anyway.
    Thank you!

  • @MsNica1987
    @MsNica1987 2 года назад +2

    simple and brilliant, mind blown

  • @DevashishGuptaOfficial
    @DevashishGuptaOfficial 9 дней назад

    We can actually use the full spectrum if we correct the final resulting color using RGB curves!

  • @BonsaiFreunde
    @BonsaiFreunde Год назад

    I love your tutorials!!

  • @CargoCulture
    @CargoCulture 3 года назад +2

    Nice technique, I had previously used the 'separated' method, using 3 glass shaders, but now I will swap to this. Great work.

    • @stanley8006
      @stanley8006 2 года назад

      How did it go? Did it go as well as illustrated or were you not able to get it to work? I have heard other people couldn’t get it to work and im paranoid that i am waisting my time if i try to attempt this

    • @stanley8006
      @stanley8006 2 года назад +1

      Sorry its just how i go i prob know its not that bad but still hearing from you would be good assurance

  •  3 года назад +4

    Great research and super clear explication.

  • @larrowvolru7204
    @larrowvolru7204 3 года назад +2

    Wow! So genius!

  • @-erikros-
    @-erikros- 2 года назад +1

    Great video! thank you. I added the white noise color spectrum solution to the lighting. It makes the light less theoretical.

  • @jon_do
    @jon_do 2 года назад

    Thanks for the great tutorial! I hope you make more! :)

  • @casielcheconi1398
    @casielcheconi1398 2 года назад +1

    Great tutorial!! Super useful. Thanks

  • @TopChannel1on1
    @TopChannel1on1 Год назад

    this is amazing

  • @candywavedigital
    @candywavedigital 2 года назад

    YOU ARE THE BEST Thank u so much for enlightening me

  • @misterdaz1018
    @misterdaz1018 3 года назад

    Thank you so much for this. Around 18 months ago I followed that 45-minute glass set-up tutorial. About 40 minutes in he says something like this is only any good if your GPU is powerful enough. At that time I was using a 5-year-old laptop so I just quit.

  • @DRAVIASTUDIO
    @DRAVIASTUDIO 3 года назад +8

    BTW should be interesting to see more actual Luxcore
    Tutorial from the Blender community.

  • @alexanderhandjiev2845
    @alexanderhandjiev2845 3 года назад +2

    HE IS BACK!

  • @STILLTHINKING656
    @STILLTHINKING656 3 года назад +1

    love this tutorial. currently i am into compare octane dispersion. and i think octane is better. but i guess cycle can control it more accuratively. thanks

  • @ConorW
    @ConorW 2 года назад

    This was excellent!

  • @balsonsash3875
    @balsonsash3875 3 года назад +1

    Very cool! Thanks!

  • @aim__freakz8499
    @aim__freakz8499 2 года назад

    wow this is amazing! :)

  • @vasilistoxo
    @vasilistoxo 3 года назад +1

    This is epic!

  • @mr_jackio
    @mr_jackio Год назад

    This is the one dude, thank you

  • @martinsupitis
    @martinsupitis 2 года назад

    This is such a clever way to do it! Now there is no way back to the old three material method.

    • @cgvertex
      @cgvertex  2 года назад +2

      Thank you! To be fair, the three shader method is still much faster, unless you use eevee.

  • @mingchengsong8077
    @mingchengsong8077 Год назад

    great tutorial!

  • @Th3Funto
    @Th3Funto Год назад

    Blender have an amazing communit and amazing people, thanks.

  • @zintoki8211
    @zintoki8211 2 года назад

    Nice idea and it's quicker than using 3 shaders for each color, but the result is little muddy thanks to noise texture.

  • @primetime74
    @primetime74 2 года назад

    Very, very nice. Thank you!

  • @DavidJFulde
    @DavidJFulde 3 года назад

    Holy. Crap. This is amazing

  • @marcozagara
    @marcozagara Год назад +2

    Great tutorial! Do you recommend any specific cycles render settings to get rid of the noise in the dispersion? I think I've tried pretty much everything so far 😅

  • @tomvonlanthen5513
    @tomvonlanthen5513 Год назад

    great video! ;)

  • @dejan923
    @dejan923 2 года назад +2

    The tutorial is amazing.
    But how did you do the depth of field with the glass ball and the HDRI? It looks really cool.

  • @viniciusbatista6084
    @viniciusbatista6084 Год назад

    excellent tutorial

  • @ShebanFPV
    @ShebanFPV Год назад

    Great man! Thanks very much!

  • @damann6470
    @damann6470 Год назад

    So helpful!! Thank you

  • @pasqualedecrescenzo2851
    @pasqualedecrescenzo2851 3 года назад +8

    I tink could be used wavelenght node instead to the color ramp: White Noise may be connected to Map Range and this one to wavelenght node. The map range is from a min of 0 and from a max of 1 to a min and a max that correspond at the waveleght of light that you want. Blender limits are 380 and 780 (nanometers) that correspond approximately to the visible spectrum, but the mid tone seems darker then it should be connectet to another node to increase the tone like bright / contrast or similar. The result is fine and maybe more realistic, but this node can be applayed only in cycles and not in Eevee. In this mode could be simulated a coloured photographics filter, for example an orange filter that blocks all light less than 600 nm.

    • @stanley8006
      @stanley8006 2 года назад

      This sounds amazing.... is there any image you can show to see the difference in this method? also have you achieved this more realistic dispersion for evee. Tell me more this is an exelent coment

  • @danielb.2873
    @danielb.2873 Год назад

    Great video.

  • @user-t3m
    @user-t3m 7 месяцев назад

    nice , thank you!

  • @Agamewriter
    @Agamewriter Год назад

    Wow. Just wow.

  • @barnabasch9525
    @barnabasch9525 2 года назад

    Wow, thanks for the tutorial I learned a lot! I wonder why mix shaders? This could be done with principled BSDF?

  • @restFriday
    @restFriday Год назад

    非常感谢您的分享~

  • @xXWhatzUpH8erzXx
    @xXWhatzUpH8erzXx 2 года назад +16

    If you want to use the full color spectrum, there is a very easy way to do this! In the Color Ramp node, set Color Mode to HSV and Interpolation to Far. Create a point to the far left that's set to (1, 1, 1), and another point at the far right set to (1, 1, 1). You should have a full color spectrum. You don't need black colors at the ends.

    • @rusticagenerica
      @rusticagenerica 2 года назад +1

      Fabulous !

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 Год назад +1

      Or why use a colour ramp at all? Why not use Combine HSV and synthesize the components yourself?

    • @bank8489
      @bank8489 11 месяцев назад

      this was covered in the video

    • @xXWhatzUpH8erzXx
      @xXWhatzUpH8erzXx 11 месяцев назад +1

      @@bank8489 In the video, he uses RGB colors spread out with black points at the end. My method does this procedurally, which gives you a more uniform distribution of all colors instead of just RGB and colors that are linearly interpolated between those 3

    • @bank8489
      @bank8489 11 месяцев назад

      @@xXWhatzUpH8erzXx yeah but didnt he show the technique you describe toward the beginning

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

    fabulous thank you

  • @user-fz3en2xj2j
    @user-fz3en2xj2j 9 месяцев назад

    so goooooooood

  • @YASIR.K
    @YASIR.K 3 года назад

    Thank You

  • @RealitySlipTV
    @RealitySlipTV Год назад

    amazing. So easy even i did it!

  • @lukayz1363
    @lukayz1363 3 года назад

    Thank you

  • @kalolord
    @kalolord 2 года назад +6

    Thank you, excellent tutorial. The material is gorgeous, but boy is it a pain to render. I made a glass breaking animation, at 128 samples and 400 frames, it's about a 20 hour render. I wish I could do more samples, the glass could definitely use it.

    • @avfx111
      @avfx111 Год назад

      If only there was the ability to adjust samples for individual types materials ( like there was for light bounces)

  • @fr0zo664
    @fr0zo664 Год назад

    thank youu ^^

  • @tubaeseries5705
    @tubaeseries5705 Год назад

    you can use transparency with color value greater than 1 to create fake but really fast caustics

  • @natashagonzalez6064
    @natashagonzalez6064 Год назад

    EXCELLENT

  • @BenJi2DxD
    @BenJi2DxD 2 года назад +2

    This is truly amazing. I tried to use the material with the default settings, but my results are super different from the video and I don't know why. I used it on a cube and the whole cube is filled to the top with color, it's the opposite of a subtle glass effect.

    • @makeandbreakgames1791
      @makeandbreakgames1791 Год назад

      I got that too and found that I had plugged in "color" instead of "value" on the white noise texture

  • @vain3d973
    @vain3d973 3 года назад +1

    ILY

  • @kangjulian216
    @kangjulian216 Год назад

    best tutorial ...

  • @fabbrobbaf
    @fabbrobbaf 3 года назад +1

    This is science!

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

    At this point, the whole video is like a physics documentary. Not a blender tutorial video anymore

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

      And is that a good thing?

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

      @@cgvertex This thing is more than good, this is great. Love the effort

  • @baoyuj5585
    @baoyuj5585 3 года назад +1

    And I did another test: by changing the R\G\B color value to 2in the color ramp, the result shows about it's 19% brighter than pure white.

  • @sansvital
    @sansvital 3 года назад +2

    Great tutorial! You have mentioned 40mins for a single image. How much do you estimate it would be with Luxcore? Have you tried to compare them?

    • @cgvertex
      @cgvertex  3 года назад +1

      Thanks! No, I didn't compare them, but at 1:00 you can see how fast is Luxcore in the viewport. I believe you can get a nice dispersion with luxcore is a matter of minutes.

  • @flukve3574
    @flukve3574 Год назад

    Very great tutorial thank you so much! Will this render slower than a normal glass shader?

    • @cgvertex
      @cgvertex  Год назад +1

      Thank you. Unfortunately it's way slower than normal glass.

  • @judaiyuki4308
    @judaiyuki4308 3 года назад

    wow cool

  • @levimagony
    @levimagony 3 года назад

    wow

  • @9999iiiioooo
    @9999iiiioooo 3 года назад +6

    This is awesome, how did you get the laser lighting to work? I'd like to test my node setup

    • @cgvertex
      @cgvertex  3 года назад +2

      Thanks! Well the laser light was tricky, and it is not really a laser but it works ok. The node setup for the light is included in the blendfile if you want to play with it. The material is called Material. 🤦‍♂️

    • @cgvertex
      @cgvertex  3 года назад

      I quite like your videos BTW. Keep it up!

  • @akunekochan
    @akunekochan 3 года назад

    I'm speechless

  • @mohamedharsha9344
    @mohamedharsha9344 2 года назад

    So you are the Kip Thorne for blender

  • @hobbter
    @hobbter 2 года назад +1

    I just WOW

  • @MondyTS
    @MondyTS 2 года назад

    Holy shit that's smart

  • @rusticagenerica
    @rusticagenerica 2 года назад

    Will this add-on work with Blender 3.1 as well?

  • @brandonhernandez1111
    @brandonhernandez1111 2 года назад +3

    Hey I found a solution to the color ramp, in order to get to a greater 'white'. Setting the ColorRamp's mode to 'HSV' and color interpolation to 'Far', you're able to set both end point colors to a solid red and the interpolation fills in a color wavelength

    • @rusticagenerica
      @rusticagenerica 2 года назад

      Priceless !! Can you make this tutorial work with Blender 3.1.x on Linux?

    • @danielliberty7559
      @danielliberty7559 2 года назад

      but then the edges are not black (there will be red twice) :(

  • @Charlotte-ef9th
    @Charlotte-ef9th 26 дней назад

    luxcore just crushing 12900k on glass cube 😭😭😭

  • @warpcloud
    @warpcloud Год назад

    Thank you for your tutorial! What a pain in the ass... Switch to Cinema or 3ds max. You can achieve the same effect in one click there.

  • @marcoelfilmm
    @marcoelfilmm Год назад +1

    My glass shape ended up having a dark tint to it.

  • @dilonardomultimediaproductions
    @dilonardomultimediaproductions 2 года назад

    Could you please add it to the BlenderKit ? Thanks

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

    how to maker glass dispersion behind a glass which without dispersion?

  • @DeepakPanwar-gv7rk
    @DeepakPanwar-gv7rk 2 года назад

    is there a way to use the luxcore in blender 3.0 btw great video

    • @cgvertex
      @cgvertex  2 года назад

      Thanks! As far as I know, luxcore does not currently support blender 3. But I think it's just a matter of time.

  • @user-sq2ml3gw7n
    @user-sq2ml3gw7n Год назад

    In welcher Version von Blender haben Sie das geschafft?

  • @MrLinvalT
    @MrLinvalT 3 года назад

    Aight, imma reproduce "Dark Side of the Moon" album cover then.

    • @MrLinvalT
      @MrLinvalT 3 года назад

      Also i first followed the first method you showed, i saw this on a CG Cookie tutorial. For funky result i added a Hue/Saturation node, on each glass/refraction bsdf, with the respective colors. Then i connected a value on all the Hue sliders. Changing the value gave me some really cool results :)

  • @dotnexdotnex4545
    @dotnexdotnex4545 3 года назад

    BIGGGGG THANKSSSSSSSSSSSSSS
    can i know how do you study to make material like this ? i am confused ,i just can use other people material tutorial to make something thankss

    • @cgvertex
      @cgvertex  3 года назад

      Thanks! I usually just imagine what I want to create and then look for a way to achieve it. Trial and error plays a huge role in this process.

  • @teotab4293
    @teotab4293 8 месяцев назад

    I've tried making something like this in arnold for a while now but with volumetric lights. Sadly the engine doesn't really work that way and the beam of light itself doesn't actually get affected by the prism, it doesn't scatter and doesn't change directions. It's the same reason lasers bouncing across mirrors won't work. is there any way to do what you've done here, but with a volume and the light being visible in the air, not just on surfaces (like the pink floyd album cover)
    I'm just a student so i have limited knowledge, please correct me if i'm using incorrect terminology or if something was lacking in my question :)

    • @cgvertex
      @cgvertex  8 месяцев назад +1

      I guess cycles is quite similar to Arnold in certain ways. I've just tried rendering the scene in a volume, and it doesn't seem to work that well. What's important to understand, and I feel like I did not emphasize it enough, is that this is the most "accurate" way that I could find of faking glass dispersion. However, there are other, computationally cheaper ways of faking it. It might not behave as "accurately" as this one, but it looks just as good.
      If I may be a bit more technical, the shader in the video is taking advantage of something that is known as fireflies. It is a defect produced by cycles-like engines. When we try to render something like a glass dispersion in such engine the fireflies (very bright spots) look like defects, but If we were to let the engine run for a while, and I mean for an unreasonably long, these defects would form a vague illusion of caustics. That's what I'm doing in the shader. It is not efficient at all, but it works, and it should behave somewhat like in reality.
      The volume just adds complexity to it. The fireflies, which will eventually form the dispersive caustics, are now not only on the floor but scattered everywhere in the volume, which makes the image even more noisy and hard to process.
      There are engines like Appleseed and Luxcore, which are designed to render caustics dispersion really fast and extremely accurately.
      As I said, there are other ways of faking this effect and getting much faster results. Many people have made such shaders, but they put it on sale, so it is hard to guess how they work. I may try to do something more efficient myself at some point, people really seem to be interested in that.
      Sorry for such a long response, but I really wanted to cover everything. I'm not really familiar with Arnold, so these are just general concepts.

    • @teotab4293
      @teotab4293 8 месяцев назад

      @@cgvertex oooh i see, thank you very much for the detailed explanation! I will look more into other engines, this has just been a fun side project but I've been learning a lot from it.
      I would absolutely watch another video from you about this haha

  • @raulgalets
    @raulgalets 2 месяца назад

    this is compatible with eevee next. just turn on raytrace refractions

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

    I got a very dark glass, almost black. My glass has a thickness to it, I can barely see the environment looking from inside the glass but when I look from outside the two sides get added and renders almost black :(
    btw thanks for this tut, I'm reverting to my 3 RGB glass dispersion version, but I'm very sad this one don't work because the separated dispersions is annoying, anyone having the same issue?

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

      I'll check it out. This was more of a proof of concept, but I'd like to make an optimized version in the future.

  • @michaelt5764
    @michaelt5764 2 года назад

    I replicated your node structure exactly the way you arranged them but unfortunately it doesn't seem to work in Blender 3.0. Also the "add' node doesn't seem to be in the 3.0 either.

    • @nathanimagination
      @nathanimagination 2 года назад +1

      if you slowed down the video you can see he typed "Math" in the search bar, you can find it then.

  • @michaelchou1515
    @michaelchou1515 Год назад

    I do this in luxcore but I cannot see the dispeersion,Can you share the files to me?

  • @ratfox4994
    @ratfox4994 2 года назад +1

    cloudy glass. because the refraction changes pixel by pixel by the white noise texture mask. this method will not work.

  • @RobertShane
    @RobertShane 2 года назад

    How does LuxCore render times compare to cycles?

    • @cgvertex
      @cgvertex  2 года назад

      I don't know how is it in general but when talking about glass, LuxCore is like million times faster and more accurate. Doesn't mean it's better in general though.

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

    Don't know if I'm doing something wrong but this doesn't seem to work in blender 4.1, any help?

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

      Hi, I just downloaded blender 4.1 and opened the blender file from gumroad. Everything seems to be working fine. Where exactly did you run into the problem?

  • @iahmadux
    @iahmadux 3 года назад

    thanks for the amazing work !! can you please make a tutorial of last glass object 8:12 ?

    • @cgvertex
      @cgvertex  3 года назад +1

      Thank you! Do you mean literally the object or NFTs and Ethereum in general?

    • @iahmadux
      @iahmadux 3 года назад +1

      @@cgvertex yes object itself 😍

    • @cgvertex
      @cgvertex  3 года назад

      Well, it was quite simple to model so I won't make a tutorial about it. But you can easily find some models of Ethereum logo online.

    • @iahmadux
      @iahmadux 3 года назад

      @@cgvertex thank you sir !! will do that 👍