mirror of
https://github.com/aap/librw.git
synced 2026-01-29 14:32:58 +00:00
fix opengl im2d. d3d still no fog
This commit is contained in:
@@ -11,7 +11,7 @@ float3 DoDirLight(Light L, float3 N)
|
||||
return l*L.color.xyz;
|
||||
}
|
||||
|
||||
float3 DoDirLightSpec(Light L, float3 N, float3 V, float power))
|
||||
float3 DoDirLightSpec(Light L, float3 N, float3 V, float power)
|
||||
{
|
||||
return pow(saturate(dot(N, normalize(V + -L.direction.xyz))), power)*L.color.xyz;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user