This commit is contained in:
mcrcortex
2024-03-01 11:00:23 +10:00
parent 3c6cdb05d3
commit 1c7c747a92

View File

@@ -12,6 +12,10 @@ public class Mipper {
//TODO: mip with respect to all the variables, what that means is take whatever has the highest count and return that //TODO: mip with respect to all the variables, what that means is take whatever has the highest count and return that
//TODO: also average out the light level and set that as the new light level //TODO: also average out the light level and set that as the new light level
//For now just take the most top corner //For now just take the most top corner
//TODO: i think it needs to compute the _max_ light level, since e.g. if a point is bright irl
// you can see it from really really damn far away.
// it could be a heavily weighted average with a huge preference to the top most lighting value
if (!Mapper.isAir(I111)) { if (!Mapper.isAir(I111)) {
return I111; return I111;
} }