[HN Gopher] The Best Darn Grid Shader (Yet) (2023)
___________________________________________________________________
The Best Darn Grid Shader (Yet) (2023)
Author : eliasylonen
Score : 127 points
Date : 2024-10-20 08:50 UTC (14 hours ago)
(HTM) web link (bgolus.medium.com)
(TXT) w3m dump (bgolus.medium.com)
| slimbuck wrote:
| I love this article! I used it as a basis for the multi-level
| grid in SuperSplat (https://playcanvas.com/supersplat/editor).
| unclad5968 wrote:
| It's awesome so much effort was put into rendering a grid. Great
| write up.
| tobr wrote:
| Looks very interesting. I'm confused by the note in the intro
| though:
|
| > Note: I highly recommend viewing this article in dark mode.
|
| I'm trying, but it seems like Medium doesn't even have a dark
| mode? Is this reposted from somewhere else?
| drdebug wrote:
| You can install the "Dark Reader" plugin on Firefox, works
| great.
| singron wrote:
| This was really interesting. I don't love the fading out to solve
| the moire in the final solution. I wonder if some dithering would
| feel better and give the impression there are lines out there
| rather than a smooth gray surface? Or maybe some jitter to break
| up the pattern?
|
| This isn't shown in the post, but sometimes the moire feels worse
| if you are walking around and the moire has a movement of its own
| (either flickering/shimmering or sweeping across in uv space),
| and it's probably a decent benefit to get rid of the moire even
| if it's imperfect.
| ansgri wrote:
| Very nice, I'd use it as one of the starting points if I was to
| learn 3D graphics as it touches upon a lot of math details in a
| seemingly simple problem.
| arandomhuman wrote:
| This is really awesome. to ask a dumb question, what's a good way
| to get acclimated with running and building shaders? Just going
| straight to OpenGL tooling and extrapolating from there?
| joenot443 wrote:
| Book of Shaders + ShaderToy is how a lot of people cut their
| teeth.
___________________________________________________________________
(page generated 2024-10-20 23:00 UTC)