Closed kylebarron closed 4 years ago
You can pass a bool uniform which says whether or not to use texture_pan. You can pass an empty texture_pan in the case of no pansharpening. E.g. new Texture2d(null) or something like that.
bool
texture_pan
new Texture2d(null)
https://github.com/visgl/deck.gl/blob/7b3b615edb86c7a6adf9230bdcb139a58e9933d3/modules/mesh-layers/src/simple-mesh-layer/simple-mesh-layer-fragment.glsl.js#L38
You can pass a
bool
uniform which says whether or not to usetexture_pan
. You can pass an emptytexture_pan
in the case of no pansharpening. E.g.new Texture2d(null)
or something like that.https://github.com/visgl/deck.gl/blob/7b3b615edb86c7a6adf9230bdcb139a58e9933d3/modules/mesh-layers/src/simple-mesh-layer/simple-mesh-layer-fragment.glsl.js#L38