Quote: //light 1 float3 Light1 = PosWorld - vecSunDir[0] ; Out.Light1.xyz = mul(worldToTangentSpace, -Light1); // L Out.Att1 = distance(PosWorld,vecLightPos[0])/vecLightPos[0].w; // Point light
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de