fix batch file

This commit is contained in:
spatialfree 2021-12-24 20:59:25 -05:00
parent ef9fb3527d
commit 8c5c878e1d
2 changed files with 5 additions and 6 deletions

View file

@ -1,3 +1,3 @@
git fetch git fetch
git pull git pull
oriels.bat Micro.bat

View file

@ -177,8 +177,8 @@ psOut ps(psIn input) {
float3 ro = input.campos; // ray origin float3 ro = input.campos; // ray origin
float3 rd = normalize(input.world - ro); // ray direction float3 rd = normalize(input.world - ro); // ray direction
float oriel = oriel(ro, rd); float ol = oriel(ro, rd);
ro += oriel * rd; ro += ol * rd;
float dist = raymarch(ro, rd); float dist = raymarch(ro, rd);
// float dist = raymarch(ro, rd); // float dist = raymarch(ro, rd);
@ -211,8 +211,8 @@ psOut ps(psIn input) {
} }
// input.color = float4(col, 1); // input.color = float4(col, 1);
// if (input.world.x > 0.0) { // if (input.world.y > (_center.y + _dimensions.y / 2.0 ) - 0.0666) {
// col = float3(1 - col.r, 1 - col.g, 1 - col.b); // col = float3(1 - col.r, 1 - col.g, 1 - col.b);
// } // }
result.color = float4(col, 1); result.color = float4(col, 1);
@ -230,6 +230,5 @@ psOut ps(psIn input) {
// result.depth = zc/wc; // result.depth = zc/wc;
// result.color.rgb = float3(zc/wc); // result.color.rgb = float3(zc/wc);
return result; return result;
} }