Shader Artist. Building https://xitter.cf/t.co/kaSRjYH3hX

🇺🇸
Joined November 2014
Pinned Tweet
New Portfolio
21
20
2
533
12,906
So basically, today PHP got two critical bugs that let anyone run code on your server without even logging in, which is bad, and then the details leaked before the patch was even out, which is worse, and it works on WordPress and MediaWiki and Magento and Joomla and Laravel, and Censys says like 1.5 million servers are running a version with no fix, so the NSA was like "take your system offline," and the FBI was like "take your system offline," and CISA and the UK and CERT-EU were all like "take your system offline," and then the Prime Minister of Japan, the actual Prime Minister, posted at 5:55 in the morning telling 48.8 million people to take their system offline, so everyone took their system offline, like the Dutch cybersecurity agency took its own website offline, and the Dutch parliament went offline, and the Port of Rotterdam went offline, and Finland and France and Denmark started pulling government sites, and Wikipedia went down, and Archive.org went down, and Asana and GOG and Something Awful went down, and the University of Vienna's webmail went down for some reason, and that's just PHP. Because GitLab also dropped a CVSS 10.0, which is the highest score they give out, for a bug that's been there since 2014, so that's every self-hosted GitLab for twelve years, and then LiteLLM 1.107.0 got hijacked and shipped a credential stealer and a remote access trojan in every single wheel and the Docker images, including latest, and you didn't even have to import it, just installing it was enough, and it's the second time this year, and then Railway paused every deployment on the entire platform because someone got into the environment variables, so now everyone has to rotate every secret they've ever stored there, and TiDB Cloud said someone was walking around inside with stolen credentials for basically a month and an extortion group says they took 10.6 terabytes, and Zeabur got breached for the second time in two months and is just shutting down, like the whole company, and Node.js patched remote code execution and a TLS bypass, and CISA says Plex is being actively exploited, and someone took over 300 Tor exit relays to steal SSH passwords, and SafePay ransomware has hit over 600 critical infrastructure orgs, and India's biggest bank filed a data loss incident, and Japan has been in an official state of emergency in cyberspace since October 9, which honestly explains the 5:55 AM post. Oh, and eMudhra, a certificate authority that's issued over 60 million certificates, whose entire job is proving websites are who they say they are, was supposed to be using private keys that are random numbers over a hundred digits long, and one of them was 4. Just 4. And the others were like 66 and 237. Anyway, it's Wednesday.
658
5,407
1,011
41,804
1,729,109
Ported Claybook's fluid solver to Petafab. Looks awesome :) 24K particles test: Simulation: 0.13ms Surface generation: 0.05ms Drawing: 0.3ms YouTube link: youtube.com/watch?v=RpXEAMYs…
35
25
6
644
27,078
The levels of shader math (in my opinion): 0. Linear, Multiply color by a brightness scalar 1. Steps, Floor coordinates for pixelation 2. Vectors, Center and correct aspect ratios 3. Geometric, Dot product for lighting 4. Exponential, Square distance falloff 5. Trigonometry, Revolving light source 6. Matrix, Coordinate space transformations 7. Bitwise, Bitpacking G-buffers 8. Derivatives, tangent space normal mapping 9. Integration, analytic volumetric fog rendering
14
15
1
368
8,024
Should I write a tutorial on all 10?
98%would read
2%would not read
243 votes • 2 days
21
930
I could really use a few billion Claude tokens right about now
6
1
1
93
4,115
Do you know why?
影同士が触れ合う瞬間の動きが液体みたい。
22
5
269
13,784
🤖 Made with AI
7
23
3
464
19,643
shader hair
111
2,567
293
47,838
826,316
I'm speechless
16
15
686
38,430
Should you replace x/y with x*(1.0/y) for shader optimization? If "y" is a constant, it makes no difference. Modern compilers optimize this either way. If "y" is not constant, x*(1.0/y) may be marginally faster on some hardware. Better to compute the reciprocal if used a lot.
6
1
1
70
4,548
Follow for more micro-optimizations
1
7
1,208
I really want to find a way to create puffy clouds/smoke. Ideally in 280 chars or less
21
8
1
422
31,538
What are the best robot fight scenes?
12
10
3,241
Being a Good person is...
45%easy
55%hard
562 votes • 1 days
44
1
24
5,026
Xor retweeted
When learning shaders most tend to overcomplicate common practices like noise or color corrections. Here are 5 common noob mistakes:
7
95
1
1,076
60,721
Interesting question
A provocation: if this GLSL shader was one shoted with a skills.md that requests to impersonate me, and indeed does pull my work on shapes, lighting, animation and delivers my style, maths, techniques and conventions (to the variable name)... isn't this actually, MY brain's work? Should I claim it as mine? Claude only did the mechanical/easy part of immitating my usual moves to put this together.
1
37
4,605
Nuclear f2 c, p=(2*C.xy-R)/R.y*35 @(9) p*=m2(sin(T*.1+f4(0,33,11,0))), c+=cos(p) O+=tanh((.1+c.x*c.x)*.1*xp(.5*f4(-1,0,1,)*c.y)/(.1+abs(c.y)));
5
20
261
5,905
Ejecting a floppy disk in space 🚀
69
1,098
83
8,975
167,915