Changeset 1356


Ignore:
Timestamp:
May 9, 2012, 6:40:44 PM (7 years ago)
Author:
sam
Message:

orbital: swap RGBA order in the shader on the X360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/mesh.h

    r1339 r1356  
    158158            "                 * pow(max(dot(r, v), 0.0), specular_power);"
    159159            "    float3 light = ambient + diffuse + specular;"
     160#if defined _XBOX
     161            "    pass_Color = in_Color.abgr * float4(light, 1.0);"
     162#else
    160163            "    pass_Color = in_Color * float4(light, 1.0);"
     164#endif
    161165            "    out_Position = mul(in_Proj, eye);"
    162166            "}",
Note: See TracChangeset for help on using the changeset viewer.