Yep, I was totally useful. It’s all you bud, good going!
Not exactly an Earth shattering kaboom that send lead into the stratosphere.
Posted in
Godot
Manga screentone in a Godot 4 spatial shader: the trick is FRAGCOORD inside light()
I wanted manga-style dots in the shadow side of a toon shader, and the part that took me longest was where to put it. It works best inside light(), because that is where you know how lit each pixel is.
The idea in three steps:
-
Work out how lit the pixel is: l = dot(NORMAL, LIGHT) * 0.5 + 0.5, times ATTENUATION.
-
Turn the dark part into a 0 to 1 amount: s = clamp((pattern_from - l) / pattern_from, 0.0, 1.0). With pattern_from at 0.6, dots only show in the darker part of the shadow.
-
Draw dots in screen space with FRAGCOORD, rotated by an angle and divided by the dot size in pixels. Each cell gets a circle whose radius grows with sqrt(s), so the dots get bigger as it gets darker, like printed screentone.
Then mix the shade toward the dot colour instead of drawing on top, so DIFFUSE_LIGHT still multiplies by ALBEDO and black dots stay black on any colour.
Because it uses screen pixels, the dot size stays the same at any distance, which is what you want for a manga look. Lines and crosshatch work the same way with abs(fract(q.y) - 0.5) instead of the circle.
I checked it in Godot 4.7 on Forward+, Mobile and Compatibility and it compiled and looked the same on all three.
Disclosure: this is from a toon shader maker I build. Previewing the styles is free in the browser, exporting the shader is part of a paid plan: gameshipkit.com/tools/toon-shader-maker-3d/
The USB-TTL cable makers and engineers trust: real FTDI chip, wide voltage support.
DSD TECH SH-U09C5 USB to TTL UART Converter Cable with
🔭 https://www.amazon.com/dp/B07WX2DSVB?tag=jwebb004-20 #ad #paidlink #AmazonAffiliate #Electronics #DIY
Without
Orlando Magic’s Updated Cap Sheet After Signing Kevin Porter Jr. https://www.rawchili.com/nba/892563/ #Basketball #Magic #NBA #Orlando #OrlandoMagic #OrlandoMagic
Remember, the best Black Friday savings can be gained from buying nothing at all
A new study suggests an FDA-approved drug may reverse a common hormone-driven type of high blood pressure, even after patients stop taking it.
The drug, baxdrostat, targets overproduction of the hormone aldosterone, which researchers say causes 5% to 10% of high blood pressure cases.
Until now, the only cure for that type was surgery to remove an adrenal gland.
The study, published in the New England Journal of Medicine, followed 14 patients who took the drug for six to 12 months. Researchers found their blood pressure stayed about 25 points lower for up to two years after treatment ended.
“Just under a quarter of the patients came off all treatment and had completely normal blood pressure,” said Prof. Morris Brown of Queen Mary University of London, who led the study.
Brown cautioned that the treatment “is unlikely to be the elixir for most patients with hypertension.” Researchers are now running a larger trial to see how long the results last. #goodnews #HighBloodPressure #Science
https://www.theguardian.com/society/2026/nov/08/new-drug-high-blood-pressure-baxdrostat
I have an armor made of cake in Minecraft
I thought that was one of my best ideas in my novels. Ooh so original Nevermind it's still great
@hamishtpb I don’t know. Web search?
Fuck that would have been such a cooler time line to live in. Or alternatively, could you imagine if it was Marcus Aurelius and his meditations became scripture? Stoicism, vitue, reasoning, real ethics and morality, and self improvement all become tenants of religion. It would have been so much better for humanity.
That is, until the Spanish inquisition. Because you never know when to expect it. And we all know they would have still done it.
Unknown type of activity/object
Does this guy think secret service works for free 🙄