Skip to content

Commit

Permalink
Remove Redox's fix for chunky-dev#608, additional testing needed
Browse files Browse the repository at this point in the history
JustinTimeCuber committed Dec 10, 2022
1 parent b06cb02 commit 72aecbe
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -450,13 +450,9 @@ private static void translucentRayColor(Ray ray, Ray next, double opacity) {
ray.color.x = (1 - rTrans) * ray.color.x + rTrans;
ray.color.y = (1 - gTrans) * ray.color.y + gTrans;
ray.color.z = (1 - bTrans) * ray.color.z + bTrans;
ray.emittance.set(ray.color.x, ray.color.y, ray.color.z);
ray.color.x *= next.color.x;
ray.color.y *= next.color.y;
ray.color.z *= next.color.z;
ray.emittance.x *= next.emittance.x;
ray.emittance.y *= next.emittance.y;
ray.emittance.z *= next.emittance.z;
}

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

0 comments on commit 72aecbe

Please sign in to comment.