Set the transmission (f32) and thickness (f32) values from the material variables and eventual textures.