Algorithm for texture.level property

Hey folks,

Just wondering what is the algorithm for this level method?

Is it gamma? contrast? or sth else? Just wondering what’s happening under the hood.

Many thanks!

It is just a multiplicative factor applied on the value read from the texture.

1 Like

Thanks for the response!

Do you have a formula how level value [0, 1] mapping to this multiplicative factor?


level is the multiplication so factor = level


@sebavan gotcha. Thank you guys!