public override void Update(RenderContext renderContext) { renderContext.SetShader(sp); renderContext.SetShaderParamTexture(Textureparam, Tex); renderContext.SetShaderParamTexture(NormalTextureparam, NormalTex); renderContext.SetShaderParam(Shininess, 16.0f); renderContext.SetShaderParam(SpecularLevel, 256.0f); }
public override void Update(RenderContext renderContext) { renderContext.SetShader(sp); renderContext.SetShaderParamTexture(Textureparam, Tex); }