tag-2021-04-15-tag
Note: This series blog was translated from Nathan Vaughn's Shaders Language Tutorial and has been authorized by the author. If reprinted or reposted, please be sure to mark the original link and description in the key position of the article after obtaining the author’s consent as well as the translator's. If the article is helpful to you, click this Donation link to buy the author a cup of coffee.
說明:該系列博文翻譯自Nathan Vaughn的着色器語言教程。文章已經獲得作者翻譯授權,如有轉載請務必在取得作者和譯者同意之后在文章的重點位置標明原文鏈接以及說明。如果你覺得文章對你有幫助,點擊此打賞鏈接請作者喝一杯咖啡。
朋友們,你們好!今天,我們將會學習如何用一個像素着色器在Shadertoy上畫出一個圓並且使它動起來。
練習
在我們畫出第一個2D圖形之前,讓我們先用Shadertoy來做一些練習。新建一個着色器然后把下面的代碼復制進去:博文已經搬遷到新的地址
