Looking at some shader code that starts with "const int i = 32768;" As a coder this completely breaks my mind that someone would do this. All variables are 1 or 2 letters, iterators are h, t, x, and it ... I have no idea what is going on but am determined to figure it out.
-
Show this thread
-
Just discovered that the place where it uses x as an iterator is actually using it as a y coordinate in the texture.
6 replies 1 retweet 27 likesShow this thread -
Replying to @AxiomVerge
Shaders always feel like black magic to me, but when I finally I understand them it's very satisfying. By the way, this is my favorite resource when it comes to learning shaders:https://catlikecoding.com/unity/tutorials/rendering/ …
1 reply 0 retweets 0 likes
Replying to @saint11
Thanks for the link. I have been poking at this shader for a few days now. It does a bunch of things I don't care about and one thing that I want to use for myself, but everything is mixed together and uncommented so it's a puzzle
1:26 PM - 12 Dec 2020
from Bell Canyon, CA
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.