Skip to content

Commit 72aecbe

Browse files
Remove Redox's fix for chunky-dev#608, additional testing needed
1 parent b06cb02 commit 72aecbe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

chunky/src/java/se/llbit/chunky/renderer/scene/PathTracer.java

-4
Original file line numberDiff line numberDiff line change
@@ -450,13 +450,9 @@ private static void translucentRayColor(Ray ray, Ray next, double opacity) {
450450
ray.color.x = (1 - rTrans) * ray.color.x + rTrans;
451451
ray.color.y = (1 - gTrans) * ray.color.y + gTrans;
452452
ray.color.z = (1 - bTrans) * ray.color.z + bTrans;
453-
ray.emittance.set(ray.color.x, ray.color.y, ray.color.z);
454453
ray.color.x *= next.color.x;
455454
ray.color.y *= next.color.y;
456455
ray.color.z *= next.color.z;
457-
ray.emittance.x *= next.emittance.x;
458-
ray.emittance.y *= next.emittance.y;
459-
ray.emittance.z *= next.emittance.z;
460456
}
461457

462458
private static void sampleEmitterFace(Scene scene, Ray ray, Grid.EmitterPosition pos, int face, Vector4 result, double scaler, Random random) {

0 commit comments

Comments
 (0)