Unity - How to make a mirror in Unity [2023 UPDATED]

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

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

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

    Here is a part 2 of the above video where you can extend your mirror to be dynamic and change its texture based on the player's position.
    Link: th-cam.com/video/qouWjT9tEdM/w-d-xo.html

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

    This tutorial was on point without any other BS. You just earned a sub!

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

    this worked and was really simple. thank you

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

    THANK YOU SO MUCH! I CAN ACTUALLY SEE MY PLAYER MODEL IN QUALITY!

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

    I wonder if it would help to set the angle for the mirror camera to be the angle from the mirror camera to the player camera, reflected across the normal of the plane. This way, the mirror would change as you approach or move around it, rather than just being basically a static image.

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

      Most definitely, but that would require coding which i thought i would avoid for this video.
      I can do a part 2 which includes the camera rotation if you want.

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

      This video covers the above. Instead of having a static mirror, a more dynamic/realistic result is achieved through a few lines of code. Check it out: th-cam.com/video/qouWjT9tEdM/w-d-xo.html

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

    Thanks so helpful, now i have a point to have a character model "btw i subbed"

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

    how do I stop the texture from stretching on a wide object?

  • @ROUGETHEBAT456
    @ROUGETHEBAT456 10 หลายเดือนก่อน

    What about a one way mirror

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

    DO NOT ENABLE 8 SAMPLES IN ANTI ALIAS IF U DONT HAVE A HIGH END PC IT WILL CRASH EVERYTHING

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

      I wasn't aware of this. Thanks for pointing it out!

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

      Im making a game for the meta quest 2, I wonder if its powerful enough to handle it 🤔

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

    I Wish It Can Be Seem Less!

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

      do you mean seamless?