irradianceEnabled function
Whether the field is read this draw.
Implementation
bool irradianceEnabled(ShaderBindings b) =>
b.vec4(_block, 'origin', Vector4.zero()).w > 0.5 &&
b.textures['irradiance_texture'] != null;
Whether the field is read this draw.
bool irradianceEnabled(ShaderBindings b) =>
b.vec4(_block, 'origin', Vector4.zero()).w > 0.5 &&
b.textures['irradiance_texture'] != null;