/usr/share/libwildmagic/Data/CgShaders/Default.fx is in libwildmagic-common 5.13-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | void v_Default
(
in float3 modelPosition : POSITION,
out float4 clipPosition : POSITION,
uniform float4x4 PVWMatrix
)
{
// Transform the position from model space to clip space.
clipPosition = mul(PVWMatrix, float4(modelPosition, 1.0f));
}
void p_Default
(
out float4 pixelColor : COLOR
)
{
// Return magenta.
pixelColor = float4(1.0f, 0.0f, 1.0f, 1.0f);
}
|