parent
27411eb02c
commit
4390eb0ff8
4 changed files with 2 additions and 2 deletions
|
|
@ -86,5 +86,5 @@ vec2 BRDF(float NoV, float roughness)
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
outColor = vec4(BRDF(inUV.s, 1.0-inUV.t), 0.0, 1.0);
|
outColor = vec4(BRDF(inUV.s, inUV.t), 0.0, 1.0);
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
|
@ -84,5 +84,5 @@ float2 BRDF(float NoV, float roughness)
|
||||||
|
|
||||||
float4 main([[vk::location(0)]] float2 inUV : TEXCOORD0) : SV_TARGET
|
float4 main([[vk::location(0)]] float2 inUV : TEXCOORD0) : SV_TARGET
|
||||||
{
|
{
|
||||||
return float4(BRDF(inUV.x, 1.0-inUV.y), 0.0, 1.0);
|
return float4(BRDF(inUV.x, inUV.y), 0.0, 1.0);
|
||||||
}
|
}
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue