I’m looking at making a shader for my project to help me debug my shape. The I formed after reading a bit about shaders is that I should use a fragment shader that calculates the distance from the center of the shape out (my shape is a sphere that I’ve made).
I was hoping to use this exercise to learn a bit more about shaders in JME in general but I’ve hit a bit of a roadblock.
Every resource I’m reading seems to assume that I know the reasons that they’re using certain variables in their shader inputs and which GLSL version to use.
Is there a cheat sheet/tutorial that’ll go over what the input variables are and why I’d want to use certain versions of GLSL over another?
nice is an overstatement ;), but thanks Paul , hope you’ve been doing ok. I remember the weekend I made those very ‘clearly’. Someone said it couldn’t be done, so I crammed in the Orange book the day before (and online articles), then the next day I was knackered and delirious from having both the flu and being slightly intoxicated on Jack Daniels and coke, while recording all of them. Dam those were good times haha.