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
-
-
Replying to @I_AM_LEGION @AxiomVerge
Aren't shaders precompiled? Of course the code might be intentionally obfuscated, but my bet is on just plain old bad coding practices.
1 reply 0 retweets 0 likes -
Replying to @MarkusLatvala @AxiomVerge
I’m not really a pro at shaders or anything, I just know that there are demoscene ppl who go above and beyond to make the file sizes minuscule for their homemade shaders
1 reply 0 retweets 0 likes -
Replying to @I_AM_LEGION @MarkusLatvala
It could be that, too, or like a developed habit. I tend to be of that certain school where every variable is named descriptively (except i, j, k, etc. which are always iterators) and everything all spaced out and with comments. I bet my files are twice as long as some folks
1 reply 0 retweets 0 likes -
Replying to @AxiomVerge @MarkusLatvala
I tend to do things that way too, but I think it might be a "newer school" way of doing things? Is the shader built on super old code?
1 reply 0 retweets 0 likes
I think it's based on stuff from 2013 or so
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.