Hey to all,
I was wondering if anyone had any advice as to how to create a basic half-lambert term a la HL2 inside Strumpy if possible?
I was looking at the graphs an such, and it seems like Pixel, Lighting and Vertex information are all split up, and that in all cases, certain functions like those of Light Vectors/Directions aren't available due to...certain restrictions?
Could anyone confirm if possible?
Replies
I recommend you just jump straight in to writing the surface shaders in code, you seen to understand enough about shaders in general to do so. By default it's all just straight up CG code (which is close enough to HLSL that they're interchangeable 99% of the time). Just ignore all the fixed funtion stuff in the Unity documentation, that's confusing stuff for old mobile hardware - look at Surface Shaders and CG Shaders.
Strumpy Shader Editor is limited and outdated (and no longer supported, since Tim - the developer - was hired by Unity).
Correct. He's now working with Unity to make an official shader editor.
It doesn't necessarily have to be in Unity.
It also doesn't have to be node-based, although that would be a huge plus for me.
In terms of compatibility in applications on a large scale, good old code writing in text is pretty much it.
After that, is a case to case basis on the engine and what it offers honestly, CE2 had some psuedo-hlsl code, but you must have access to the 'code' documents first before even trying anything with them.