Where to find documentation on writing a fragment shader

After hours of searching I realized there is a severe lack of documentation on writing fragment shaders.

Where at in the unity core can I find the code for compiling fragment shaders? I feel like this is the only way I can learn how they work since there is nothing online.

I’m not super-bullish on AI for programming, but this might be one of those things it can get you off the ground with, just asking it questions, showing it code, etc.

Generally AI does well if you have one simple thing to do.

The biggest drawback is that AI might completely hallucinate and send you down a dead end. :slight_smile:

lol I have been using chatGPT. It’s funny how it can give you the answers you are seeking instantly vs hours of searching on google.

I think they recently switched to a paid version or something because it wouldn’t let me use it today though. :smile:

It is funny how you develop a sense for what it would be good at helping you with: simple one-and-done type stuff: SQL queries, tiny simple shell scripts, arguments for Posix utilities, etc.

They have been getting flaky lately.

I’m guessing they have more people using it than they anticipated.

Or else they’re cheaping out on upgrading. :slight_smile: