Skip to content

Commit

Permalink
feat: blend style color with original RGB
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed May 18, 2022
1 parent 5879f0a commit 358bef7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ void main() {
vec3 colorTexel = texelFetch(objectIdLUT, ivec2(lutX, lutY), 0).rgb;

if (colorTexel.r + colorTexel.g + colorTexel.b > 0.0) {
vColor = colorTexel;
vColor = 0.5 * (colorTexel + vColor);
}
}
}

0 comments on commit 358bef7

Please sign in to comment.