True Surface Reflections (Raytracing) #2 | Roblox

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2024
  • In this video, I will be showing a much more optimised and nicer looking reflections that works by using raytracing that will set the colour of blurred pixels in the surface guis in the mirrors. If you have any ideas for a video, please leave them in the comments down below. If you enjoy my content, consider subscribing!
    -== Other Social Media ==-
    The Grand Development:
    www.roblox.com...

ความคิดเห็น • 67

  • @ycahidmirl4935
    @ycahidmirl4935 2 ปีที่แล้ว +19

    I can smell smoke using that piece of glass :D

    • @gdplayrr
      @gdplayrr 2 ปีที่แล้ว

      oh fu

    • @dextromethorphann
      @dextromethorphann 2 ปีที่แล้ว

      Macbook pro, i run somethings like this at 40-30 fps, 50 pixels res

  • @Seventh_hell
    @Seventh_hell 2 ปีที่แล้ว +3

    Crazy how you can do this in roblox, hope roblox does make it easier to make it clearer

  • @spicycanjam
    @spicycanjam 2 ปีที่แล้ว +34

    The way I think this works is that it's castings rays for each pixel, each pixel being a Gui frame, when ever a rays hit something it will get it's color which is then relayed to the Gui frames am I correct?

    • @Ethanthegrand
      @Ethanthegrand  2 ปีที่แล้ว +12

      Yes, you are correct. All though i have used SurfacesGuis with image labels that blur the image to give the illusion of higher resolutions (which is a lot more realistic for materials such as metal that don‘t give a clean reflection)

    • @spicycanjam
      @spicycanjam 2 ปีที่แล้ว

      @@Ethanthegrand I have another question are you making the raycast bounce of surfaces? Since in the thumbnail the Mirror is titled sightly upwards. Wait I think I just figured it out your raycasting from the camera has well right?

    • @Ethanthegrand
      @Ethanthegrand  2 ปีที่แล้ว +4

      @@spicycanjam Yes. I am casting a ray for every pixel on the surface gui and then cast another ray from that mirror with the reflected direction from the first ray and then if it hits something. This technique uses Raytracing and there are heaps of things on the internet that explains how it works. A simple google search should easily answer most of your questions

    • @spicycanjam
      @spicycanjam 2 ปีที่แล้ว

      @@Ethanthegrand thanks man have a good day

    • @pjsangria
      @pjsangria 2 ปีที่แล้ว

      @@Ethanthegrand So it would be laggy if you had a higher numbers of SurfaceGuis? To be a higher resolution

  • @silkyz5518
    @silkyz5518 2 ปีที่แล้ว +3

    Bro is literally a pioneer in deving

  • @unkoiboi
    @unkoiboi 2 ปีที่แล้ว +6

    your so underrated

    • @Crusadezzz
      @Crusadezzz 2 ปีที่แล้ว

      I can’t wait for somebody to say *You’re

    • @jobusch
      @jobusch 2 ปีที่แล้ว

      *You’re

    • @unkoiboi
      @unkoiboi 2 ปีที่แล้ว

      @@jobusch brain*

    • @unkoiboi
      @unkoiboi 2 ปีที่แล้ว

      @@Crusadezzz just happend and it made me VERY mad lmao

    • @jobusch
      @jobusch 2 ปีที่แล้ว

      @@unkoiboi why did you say brain

  • @Xizilqou
    @Xizilqou หลายเดือนก่อน +1

    I wonder if the newer editableimages would be better for this than blurred imagelabels

  • @explosivestudios3920
    @explosivestudios3920 ปีที่แล้ว

    I don’t think people understand how insane this is

  • @filiprodak
    @filiprodak 2 ปีที่แล้ว +1

    that reflective cube doe

  • @PanchoAnimationsOfficialYT
    @PanchoAnimationsOfficialYT 6 หลายเดือนก่อน +1

    Works on Spheres or Meshes? Btw could u make a tutorial?

  • @iamyourguy3668
    @iamyourguy3668 2 ปีที่แล้ว +5

    Your work is amazing I would love to make you a developer for my game.

  • @moddedpeople
    @moddedpeople 6 หลายเดือนก่อน +2

    This is true ray tracing, not like RoShade... I'd like to know how you made it look blurry

  • @GatoShidori
    @GatoShidori 2 ปีที่แล้ว +2

    Cool :o

  • @dry6334
    @dry6334 2 ปีที่แล้ว

    this is super awesome

  • @CaptainIce69
    @CaptainIce69 2 ปีที่แล้ว +1

    This is insane also i recorded before 3 am and posted it it was a great game cant wait for after 3am lol

  • @herman8894
    @herman8894 2 ปีที่แล้ว +12

    Interesting
    Can you explain how this works?

    • @Ethanthegrand
      @Ethanthegrand  2 ปีที่แล้ว +5

      Its a but hard to explain, but essentially, it uses real time raytracing that i made within roblox to allow true surface reflections. The mirrors themselves just have a SurfaceGui with a bunch of image labels that change colours

    • @CopperCrownDummyWhoMakesGames
      @CopperCrownDummyWhoMakesGames 2 ปีที่แล้ว

      Tutorial?

    • @dextromethorphann
      @dextromethorphann 2 ปีที่แล้ว

      @@CopperCrownDummyWhoMakesGames i can try make this
      ps: already made that

  • @havoklad7616
    @havoklad7616 2 ปีที่แล้ว +1

    that is cool

  • @schrimblo
    @schrimblo ปีที่แล้ว

    Any way you could release this to the public, this is super sick

  • @unkoiboi
    @unkoiboi 2 ปีที่แล้ว +1

    second wow

  • @risinggames8189
    @risinggames8189 2 ปีที่แล้ว

    Cool

  • @ron133.
    @ron133. 2 ปีที่แล้ว

    what if a ghost came out of it if you chant bloody mary

  • @gigabit6226
    @gigabit6226 8 หลายเดือนก่อน

    Does this work with textured objects or do parts need to be solid colors?

  • @Realm_of_portals4689
    @Realm_of_portals4689 2 ปีที่แล้ว

    .O.
    epic

  • @owoshka2427
    @owoshka2427 2 ปีที่แล้ว +1

    To make it clear for everybody. He is using Viewport frame with Surface gui and setting camera angle according to the player's camera angle.

    • @Ethanthegrand
      @Ethanthegrand  2 ปีที่แล้ว +3

      False. No viewport frames are being used. Otherwise reflections in reflections wont work. This uses raytracing. All the surfaces gui has is a bunch of blured pixels

    • @owoshka2427
      @owoshka2427 2 ปีที่แล้ว

      @@Ethanthegrand Alright, my bad. I will leave this comment, for people to see your small explanation.

    • @owoshka2427
      @owoshka2427 2 ปีที่แล้ว

      @@Ethanthegrand The only thing I wonder, is how did you replicate shadows.

    • @owoshka2427
      @owoshka2427 2 ปีที่แล้ว +1

      Just figured it, I guess. You casted a ray from each pixel on the glass infront, then casted another ray from sun's position and if it hits something before reaching the end point, then you cast a shadow and use 'lerp' to make a darker color.

  • @cehroaza7952
    @cehroaza7952 2 ปีที่แล้ว

    Nicee more content :)

  • @ryanluccaferreira5745
    @ryanluccaferreira5745 ปีที่แล้ว

    make it like a portal mirror

  • @ChraO_o
    @ChraO_o 2 ปีที่แล้ว

    this thing works if on water

  • @UnnamedA320
    @UnnamedA320 2 ปีที่แล้ว

    Can you use it with car mirrors

    • @Ethanthegrand
      @Ethanthegrand  2 ปีที่แล้ว

      Yeah, but with this method you’d be restricted to a square mirror

  • @CaptainIce69
    @CaptainIce69 2 ปีที่แล้ว

    You should actully make a discord server

  • @TalesYeap
    @TalesYeap 2 ปีที่แล้ว

    Hhhhmmmm okay but laggy and good work keep up that reflection until realy good

    • @TalesYeap
      @TalesYeap 2 ปีที่แล้ว

      Tutorial pls

  • @zinny6761
    @zinny6761 2 ปีที่แล้ว

    Can we have the game link?

  • @cloak1473
    @cloak1473 2 ปีที่แล้ว

    what are your pc specs

    • @Ethanthegrand
      @Ethanthegrand  2 ปีที่แล้ว +1

      In this video, they were;
      - 3.4GHz quad-core Intel Core i5 processor
      - 8GB DDR3 memory
      - NVIDIA GeForce GT 755M graphics processor with 1GB of GDDR5 memory
      I was using a late 2013 desktop Mac

    • @cloak1473
      @cloak1473 2 ปีที่แล้ว

      @@Ethanthegrand if your gonna want to expand on this or maybe work on ray traced shadows you might wanna upgrade

  • @variegatus4674
    @variegatus4674 2 ปีที่แล้ว

    can I add you on discord? I wanna know how you done this in detail. just want to have a crack at making something like this myself.

  • @dankarsedog
    @dankarsedog 2 ปีที่แล้ว

    Wouldnt viewport frames work better?