Beispiel #1
0
 public CascadedShadowUniforms(GLProgram program, Sampler2DArray sampler) : base(program)
 {
     using (program.Scope())
         csmShadowMap &= sampler;
 }
Beispiel #2
0
 public CascadedShadowUniforms(GLProgram program, Sampler2DArray sampler)
     : base(program)
 {
     using (program.Scope ())
         csmShadowMap &= sampler;
 }