Skip to content

Commit 1ec4d5b

Browse files
committed
test: Update tests that now fail
The normals have been fixed in the shader, hence the difference Also the sample distance is not computed in index space anymore This explains some differences
1 parent 5beb83f commit 1ec4d5b

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

Sources/Rendering/Core/VolumeMapper/test/testColorMix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ test('Test Volume Rendering: custom shader code', async (t) => {
142142
if (opacity1 > 0.5) {
143143
return vec4(0.0, 1.0, 1.0, 0.1);
144144
} else {
145-
vec3 posIS = VCtoIS(posVC);
145+
vec3 posIS = posVCtoIS(posVC);
146146
mat4 normalMat = computeMat4Normal(posIS, tValue);
147147
float opacity0 = getOpacityFromTexture(tValue[0], 0, volume.transferFunctionsSampleHeight[0]);
148148
vec3 color0 = getColorFromTexture(tValue[0], 0, volume.transferFunctionsSampleHeight[0]);
-1.67 KB
Loading
17.9 KB
Loading
2.34 KB
Loading

0 commit comments

Comments
 (0)