SCM Repository
[diderot] Diff of /benchmarks/programs/illust-vr/bmark-diderot.diderot
Diff of /benchmarks/programs/illust-vr/bmark-diderot.diderot
Parent Directory
|
Revision Log
|
Patch
83 |
real k1 = (trace(Gten) + disc)/2.0; |
real k1 = (trace(Gten) + disc)/2.0; |
84 |
real k2 = (trace(Gten) - disc)/2.0; |
real k2 = (trace(Gten) - disc)/2.0; |
85 |
gray *= rival([min(0.55, |Gten|)/0.55, atan2(k2,k1)]); |
gray *= rival([min(0.55, |Gten|)/0.55, atan2(k2,k1)]); |
86 |
vec3 matRGB = depth(lerp(0.0, 1.0, camVspNear, rayN, camVspFar)) |
vec3 matRGB = depth(lerp(0.0, 1.0, camVspNear, rayN, camVspFar)); |
|
if useDepth else [1.0,1.0,1.0]; |
|
87 |
rayRGB = rayRGB + rayTransp*aa*gray*matRGB; |
rayRGB = rayRGB + rayTransp*aa*gray*matRGB; |
88 |
rayTransp = rayTransp*(1.0 - aa); |
rayTransp = rayTransp*(1.0 - aa); |
89 |
} |
} |
|
Legend:
Removed from v.1654 |
|
changed lines |
|
Added in v.1655 |
|
|