More minor code style tweaks (remove extra blank lines, etc.)
このコミットが含まれているのは:
1 親
8be9203a1c
コミット
f2ed8a2d3b
22ファイル変更
+39
-38
検索条件に一致するファイルはありません
@@ -109,7 +109,6 @@ internal readonly partial struct PyramidPattern : IPixelShader<float4>
|
||||
return 1.0f - Hlsl.Max(p.X, p.Y);
|
||||
}
|
||||
|
||||
|
||||
// Standard function-based bump mapping function, with an edge value included for good measure
|
||||
private float3 DoBumpMap(in float2 p, in float3 n, float bumpfactor, ref float edge)
|
||||
{
|
||||
@@ -131,7 +130,6 @@ internal readonly partial struct PyramidPattern : IPixelShader<float4>
|
||||
return Hlsl.Normalize(n + (grad * bumpfactor));
|
||||
}
|
||||
|
||||
|
||||
// A hatch-like algorithm, or a stipple... or some kind of textured pattern
|
||||
private float DoHatch(float2 p, float res)
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする