LightingShaderGen: Perform more lighting calculations with integers.

This commit is contained in:
Tony Wasserka
2013-10-27 14:43:29 +01:00
parent 387b9bf3c2
commit 3e6efdb53e
3 changed files with 11 additions and 13 deletions

View File

@ -218,8 +218,7 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
out.Write("o.pos = float4(dot(" I_PROJECTION"[0], pos), dot(" I_PROJECTION"[1], pos), dot(" I_PROJECTION"[2], pos), dot(" I_PROJECTION"[3], pos));\n");
out.Write("float4 mat;\n"
"int4 lacc;\n"
out.Write("int4 lacc;\n"
"float3 ldir, h;\n"
"float dist, dist2, attn;\n");