public RhinoBackground(Client client, CyclesBackground intermediate, Shader existing, string name) : base(client, intermediate) { if (existing != null) { m_shader = existing; m_shader.Recreate(); } else { m_shader = new Shader(m_client, Shader.ShaderType.World) { UseMis = true, UseTransparentShadow = true, HeterogeneousVolume = false, Name = name }; } }
public RhinoBackground(Client client, CyclesBackground intermediate, Shader existing, string name) : base(client, intermediate, name, existing) { }
public RhinoBackground(Client client, CyclesBackground intermediate, Shader existing) : this(client, intermediate, existing, "background") { }
public static RhinoShader CreateRhinoBackgroundShader(Client client, CyclesBackground intermediateBackground, Shader existingShader) { RhinoShader theShader = new RhinoBackground(client, intermediateBackground, existingShader); return theShader; }
protected RhinoShader(Client client, CyclesBackground intermediateBackground) { m_client = client; m_original_background = intermediateBackground; }
public static RhinoShader CreateRhinoBackgroundShader(Client client, CyclesBackground intermediateBackground, Shader existingShader) { RhinoShader theShader = new RhinoBackground(client, intermediateBackground, existingShader); return(theShader); }
protected RhinoShader(Client client, CyclesBackground intermediateBackground, string name, Shader existing) { m_client = client; m_original_background = intermediateBackground; InitShader(name, existing, Shader.ShaderType.World); }