How to Render Circles (on the GPU!)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024

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

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

    hey how did you do this , which file you have added , I think its directly from the middle ,please share from the beginning of the project.

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

      its a shader... the code shown in the video is all you need for a shader in Metal, however you can simply adopt the concept on your own shaders to draw a circle... wether ur using GLSL or any other shader language the same principles apply mathematically. However if you talking about how I got the shader to show in a separate window then that's an entirely different topic as this video assumes you already have your own Graphics Renderer setup before hand.

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

    awesome, keep going

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

      Thank you very much for the motivation 😃!! Means a lot to me