#Got bored and started messing with shaders again.
83 messages ยท Page 1 of 1 (latest)
terraria shimmer?
theres also this now
A library that lets you easily do stuff like this with shaders would be neat
well i wont be the one to make it
๐
i have like 30000 other projects
Completely fair
most of them not related to minecraft at all
Are you applying the shader through a sphere?
This looks so cool!
I really want to learn how to do shaders, I've started doing OpenGL just do try and go through it
isnt there satin api?
Not sure if you can do shaders which are localized in a world like that tho
Holy shit, you could make a really cool looking time stop mod with this
is stuff like this compatible with sodium? this seems really fun to actually make a mod with
opens up a whole lot of options
true
this looks sick
essentially
thats what im usin

can you at least publicise the source for this feature standalone this so someone can?
oh satinapi. so it is a library already. cool
satin has been there for ages ngl ^^
ye just didnt realise this uses satin
it got cooler
how can i learn to make these kinds of shaders using satin lib?
like these are cool, i suck at lot in shaders
tbh i cant really say anything but just get learnt sorry
heres something i forgot to show
So satin allows you to apply shaders but only in an area?
Maybe I should've used a library to do my shaders instead of just doing it directly
not rly... iirc satin api just makes it easier to work with vanilla shaders like those that you see when you spectate creepers, spiderers and other mobs...

That's not how shaders work
The shader checks the depth value itself and creates a 3D reprojection of the image
You should never edit core shaders, since you automatically lose all Sodium and Iris support for your mod
(technical reasons)
but a post shader like this is fine
another update
holy
holy moley even
lol
also this
what on god's green earth am i looking at ?
a dev texture
oh
basically i mapped pixel positions to the world using minecraft's depth buffer and some transform matrix magic
https://github.com/FoundryMC/Veil
did u hear abt veil?
uh ok?
lucky i dont need that
mb it was for someone else
yo is there a tutorial where I can get into shaders and stuff. I wanna render smooth particle trails like anime and shit. I am currently reading the codes of some mods but if there is better way to learn, it would be cool
the satin api on github has a small introduction in the github wiki iirc...
https://thebookofshaders.com/ might also help
Hey @plucky finch this is pretty cool, did you share the mod code anywhere?
not yet
I'd be interested in seeing the mod if you publish it anywhere please lmk
kk
@ebon basin https://github.com/shadowmaster435/Limbo
one thing i wanna ask that has to do with these shaders is how do you come up with the math to describe the shapes & all that?
i started learning glsl and well coming up with the math seems quite challenging to even produce some simple shapes
wdym?
like how did you thought about making the shape, what was thinking the process?
uhhhhhhhhhhhh i just think of a shape as a set of positions i guess?
a grid to be specific
when i comes to shaders unlesss you need precision its typically fine to ignore the fact that pixels exist
at least in my experience
mhm
