define 'define'. litSphere shading samples a texture based on the view vector, changing the sample vector to a arbitrary 'light vector' will give a different, although generally undesirable effect. the problem with expanding this Shading Through Texture concept is that these litSphere images combine various different…
I couldn't find an HLSL matcap shader that worked with XNA so I built this from the previous Unity one. #define MaxBones 59float4x4 Bones[MaxBones];float4x4 View;float4x4 Projection;float4x4 WorldInverseTranspose;float4x4 World;float4 MainColor = float4(1,1,1,1);float3 lightDir1 = float3(1,1,1);float3 lightDir2 =…