candle🕯️ utilise witches.town. Vous pouvez læ suivre et interagir si vous possédez un compte quelque part dans le "fediverse".

i reaaallllyy dont want to ask in those awful forums or that gross discord so uh last resort:

anyone proficient in glsl wanna help me out with one or two very simple frag shaders that won't scale correctly bc i have no idea what im doing

(i'm trying to create a drop shadow effect but the offset scales with the game window while i want it stay the same obv) #gamedev mastodon.social/media/aPQIWU9z mastodon.social/media/72sOxVJe mastodon.social/media/eBdduhNf

candle🕯️ @candle

@ludonaut pixel size.x is probably 1 / pixelWidth so maybe divide instead of multiply?

@ludonaut do you know where the shader docs for construct 3 are... i'm looking at the c3 manual and i can't find them at all

@ludonaut do you get different results if you start the window at different sizes? wondering if they aren't updating the pixelSize every time or something

@candle tried that, shadows dont show up at all when divided by pixelSize