Beispiel #1
0
 public void Dispose()
 {
     DiffuseIBL.Dispose();
     DiffuseIBLShadowed.Dispose();
     SpecularIBLShiny.Dispose();
     SpecularIBLRough.Dispose();
     SpecularIBLShinyShadowed.Dispose();
     SpecularIBLRoughShadowed.Dispose();
 }
Beispiel #2
0
 public void Bind(State state)
 {
     DiffuseIBL.Bind(state, Sampler.DiffuseIBL.TextureUnit);
     DiffuseIBLShadowed.Bind(state, Sampler.DiffuseIBLShadowed.TextureUnit);
     SpecularIBLShiny.Bind(state, Sampler.SpecularIBLShiny.TextureUnit);
     SpecularIBLRough.Bind(state, Sampler.SpecularIBLRough.TextureUnit);
     SpecularIBLShinyShadowed.Bind(state, Sampler.SpecularIBLShinyShadowed.TextureUnit);
     SpecularIBLRoughShadowed.Bind(state, Sampler.SpecularIBLRoughShadowed.TextureUnit);
 }