Changeset 1387


Ignore:
Timestamp:
May 14, 2012, 8:54:37 AM (9 years ago)
Author:
sam
Message:

orbital: fix a typo in the HLSL shader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/shiny.lolfx

    r1386 r1387  
    9090                 * pow(max(dot(r, v), 0.0), specular_power);
    9191    float3 light = ambient + diffuse + specular;
    92     vec4 real_color = in_Damage * vec4(1.2, 0.2, 0.2, 1.0)
    93                     + (1.0 - in_Damage) * in_Color;
     92    float4 real_color = in_Damage * float4(1.2, 0.2, 0.2, 1.0)
     93                      + (1.0 - in_Damage) * in_Color;
    9494    pass_Color = real_color * float4(light, 1.0);
    9595    out_Position = mul(in_Proj, eye);
Note: See TracChangeset for help on using the changeset viewer.