Brett Lajzer

78 Followers
74 Following
275 Posts

Doin' stuff with computers.

Current: Fictions
Former: Annapurna Interactive, Velan Studios, Vicarious Visions, 1st Playable.

Opinions are my own.

Websitehttps://brettlajzer.com
PronounsHe/Him
🏳️‍🌈🏳️‍🌈
Oy! @benthroop's upcoming The Free Shepherd game has a new short! Excite! https://www.youtube.com/shorts/GP50oPnnR34
The Free Shepherd Introduction

YouTube
They never message back ☹️
#graffiti
"Every renderer that works contains an even number of sign mistakes"

I wrote a big 'ole blog post about the process of developing the text editor I now daily-drive, complete with technical details about the implementation and some fun solutions I found along the way.

Perhaps some of you folks will enjoy it.

https://blog.jsbarretto.com/post/text-editor

What I REALLY want is to live a lifestyle that is less dependent on accurate clocks. Let my body decide when to sleep and wake up. Make plans to meet people “around midday,” or “dusk.” Lounge around while I wait for the other person to show up, and be unbothered because neither of us is in any hurry.

@lisyarus @AminiAllight Does it go away if you use textureLod() and specify a constant mip value (i.e. 0)?

If so, and if all of your tiles are the same resolution, you could use textureQueryLod() on a constant texture (maybe just the first one in the texture array) to compute the correct mip value.

If not, then you'll need to sample all of the possible textures and select which is the correct one afterward (as @lisyarus previously suggested).

@lisyarus @AminiAllight I think it might be this.

Looking at the code you linked elsewhere, I think you might be running into undefined behavior caused by divergence in your shader because the image you're sampling can vary within a given screen quad (not mesh).

@AminiAllight @lisyarus try using textureGrad(), passing dFdx(uv) and dFdy(uv) as the gradients.
behdad (@[email protected])

HarfBuzz 13.0.0 released with new experimental features: `hb-vector` for vector output of glyph outlines to SVG and `hb-raster` for rasterizing glyphs to A8 / BGRA32 images, among other features. I would like to welcome our new contributors: Claude & Codex, without whom these new features would not have been possible. https://github.com/harfbuzz/harfbuzz/releases/tag/13.0.0

typo.social
Obsessed with this quote from an AI bro who is under the impression that horses "can do whatever they want now" as a result of the invention of the car.