/usr/share/libwildmagic/Data/CgShaders/BoundaryDirichlet.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 20 21 22 23 24 25 26 | sampler2D MaskSampler = sampler_state
{
MinFilter = Nearest;
MagFilter = Nearest;
WrapS = Clamp;
WrapT = Clamp;
};
sampler2D StateSampler = sampler_state
{
MinFilter = Nearest;
MagFilter = Nearest;
WrapS = Clamp;
WrapT = Clamp;
};
void p_BoundaryDirichlet
(
in float2 vertexTCoord : TEXCOORD0,
out float4 pixelColor : COLOR
)
{
float4 mask = tex2D(MaskSampler, vertexTCoord);
float4 state = tex2D(StateSampler, vertexTCoord);
pixelColor = mask*state;
}
|