m3diaLib-Team / m3dctr-examples

Examples for the m3diaLib
6 stars 3 forks source link

[WIP] Toon shading #5

Closed Eeems closed 11 months ago

Eeems commented 4 years ago

@StuntHacks While I've figured out how to bind in my own shader (stolen shamelessly from https://github.com/devkitPro/3ds-examples/tree/master/graphics/gpu/toon_shading), I'm not quite sure how to get it all working.

I must admit that my PICA200 is limited to knowing that it exists and it seems to share some simulatities with assembler.

StuntHacks commented 4 years ago

Yes, picasso (the tool used to assemble shaders for the PICA200) is an assembler, and the language used is pretty much assembly. Having experience with GLSL-shaders is definitely extremely helpful, though, since most concepts are the same. I suggest looking at this (albeit rather simple) manual for the language, as well as this detailed documentation of the complete instruction-set.

I personally found it very helpful to check out already finished PICA200 shaders and comparing them to GLSL shaders, to get a grasp of how to use the language. Sadly, there aren't any actual good tutorials on how to use it that I know of.