RealTime Shader Presets

List of available RealTime Shader presets. Realtime shaders allow you to build and control the multipass realtime rendering pipeline, using the render tree. You can connect these shaders together to achieve a multitude of sophisticated rendering effects, from basic surface shading to complex texture blending and reflection.

For more information, see the user guide

Note See Shader Presets for a list of different shader preset types. Also see Alphabetical Listing of All Shader Presets for a complete list of available shaders.
Preset Shaders
RealTime\CgBoolean.Preset CgBoolean Realtime Shader.

See the Softimage.CgBoolean.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\CgColor.Preset Cg Color Realtime Shader.

See the Softimage.CgColor.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\CgInteger.Preset CgInteger Realtime Shader.

See the Softimage.CgInteger.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\CgLightTracker.Preset Cg Light Tracker Realtime Shader.

See the Softimage.CgLightTracker.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\CgMatrix.Preset Cg Matrix Realtime Shader.

See the Softimage.CgMatrix.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\CgScalar.Preset CgScalar Realtime Shader.

See the Softimage.CgScalar.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\CgVector.Preset Cg Vector Realtime Shader.

See the Softimage.CgVector.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10Blend.Preset DX10 Blend Realtime Shader.

See the Softimage.DX10Blend.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10DepthStencil.Preset DX10 DepthStencil Realtime Shader.

See the Softimage.DX10DepthStencil.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10Draw.Preset DX10 Draw Realtime Shader.

See the Softimage.DX10Draw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10FX.Preset DX10 FX Realtime Shader.

See the Softimage.DX10FX.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10HLSLProgram.Preset DX10 HLSL Program Realtime Shader.

See the Softimage.DX10HLSLProgram.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10Rasterizer.Preset DX10 Rasterizer Realtime Shader.

See the Softimage.DX10Rasterizer.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10Sampler.Preset DX10 Sampler Realtime Shader.

See the Softimage.DX10Sampler.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DX10Texture.Preset DX10 Texture Realtime Shader.

See the Softimage.DX10Texture.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXCubicCrossTexture.Preset DXCubicCrossTexture Realtime Shader.

See the Softimage.DXCubicCrossTexture.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXCubicTexture.Preset DXCubicTexture Realtime Shader.

See the Softimage.DXCubicTexture.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXDraw.Preset DXDraw Realtime Shader.

See the Softimage.DXDraw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXFx.Preset DirectX_FX_Draw Realtime Shader.

See the Softimage.DXFX.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXHLSLColor.Preset DXHLSLVector Realtime Shader.

See the Softimage.DXHLSLColor.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXHLSLMatrix.Preset DXHLSLMatrix Realtime Shader.

See the Softimage.DXHLSLMatrix.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXHLSLProgram.Preset DXHLSLProgram Realtime Shader.

See the Softimage.DXHLSLProgram.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXHLSLVector.Preset DXHLSLVector

See the Softimage.DXHLSLVector.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXPSColorConst.Preset DXPSColorConst Realtime Shader.

See the Softimage.DXPSColorConst.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXPixelShader.Preset DXPixelShader Realtime Shader.

See the Softimage.DXPixelShader.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXShade.Preset DXShade Realtime Shader.

See the Softimage.DXShade.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXShadowMap.Preset DXShadowMap Realtime Shader.

See the Softimage.DXShadowMap.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXShadowReceiver.Preset DXShadowReceiver Realtime Shader.

See the Softimage.DXShadowReceiver.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXTexCoord.Preset DXTexCoord Realtime Shader.

See the Softimage.DXTexCoord.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXTexture.Preset DXTexture Realtime Shader.

See the Softimage.DXTexture.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXTextureFile.Preset DXTextureFile Realtime Shader.

See the Softimage.DXTextureFile.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXVSColor.Preset DXVSColor Realtime Shader.

See the Softimage.DXVSColor.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXVSLightTracker.Preset DXVSLightTracker Realtime Shader.

See the Softimage.DXVSLightTracker.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXVSMatrix.Preset DXVSMatrix Realtime Shader.

See the Softimage.DXVSMatrix.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXVSVector.Preset DXVSVector Realtime Shader.

See the Softimage.DXVSVector.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\DXVertexShader.Preset DXVertexShader Realtime Shader.

See the Softimage.DXVertexShader.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\GLSLProgram.Preset GLSL Shader Realtime Shader.

See the Softimage.GLSLProgram.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\GLSLUniform.Preset GLSL Uniform Realtime Shader.

See the Softimage.GLSLUniform.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL13CubicCrossTexture.Preset OGL13CubicCrossTexture Realtime Shader.

See the Softimage.OGL13CubicCrossTexture.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL13CubicTexture.Preset OGL13CubicTexture Realtime Shader.

See the Softimage.OGL13CubicTexture.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL13Draw.Preset OGL13Draw Realtime Shader.

See the Softimage.OGL13Draw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL13Shade.Preset OGL13Shade Realtime Shader.

See the Softimage.OGL13Shade.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL13TexCoord.Preset OGL13TexCoord Realtime Shader.

See the Softimage.OGL13TexCoord.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL13Texture.Preset OGL Texture Realtime Shader.

See the Softimage.OGL13Texture.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL1Pass.Preset OGL13Draw Realtime Shader.

See the Softimage.OGL13Draw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL2Pass.Preset OGL13Draw Realtime Shader.

See the Softimage.OGL13Draw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGL3Pass.Preset OGL13Draw Realtime Shader.

See the Softimage.OGL13Draw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLAlphaTrans.Preset OGL13Draw Realtime Shader.

See the Softimage.OGL13Draw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLCom.Preset RTShader_OGLCom Realtime Shader.

See the Softimage.OGLCom.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLDraw.Preset RTShader_OGLDraw Realtime Shader.

See the Softimage.OGLDraw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLMulti.Preset RTShader_OGLMulti Realtime Shader.

See the Softimage.OGLMulti.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLParticle.Preset OpenGL Particle Shader Realtime Shader.

See the Softimage.OGLParticle.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLShade.Preset RTShader_OGLShade Realtime Shader.

See the Softimage.OGLShade.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLShadowMap.Preset OGLShadowMap Realtime Shader.

See the Softimage.OGLShadowMap.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLT2D.Preset RTShader_OGLT2D Realtime Shader.

See the Softimage.OGLT2D.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\OGLTCTrans.Preset RTShader_OGLTCTrans Realtime Shader.

See the Softimage.OGLTCTrans.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\nVBumpDraw.Preset RTShader_nVBumpDraw Realtime Shader.

See the Softimage.nVBumpDraw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\nVCubic.Preset RTShader_nVCubic Realtime Shader.

See the Softimage.nVCubic.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\nVDraw.Preset RTShader_nVDraw Realtime Shader.

See the Softimage.nVDraw.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\nVMeta.Preset RTShader_nVMeta Realtime Shader.

See the Softimage.nVMeta.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\nVPPAtt.Preset RTShader_nVPPAtt Realtime Shader.

See the Softimage.nVPPAtt.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\nVToon.Preset RTShader_nVToon Realtime Shader.

See the Softimage.nVToon.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example
RealTime\nVidiaShadowShader.Preset nVidiaShadow Realtime Shader.

See the Softimage.nVidiaShadowShader.1.0 shader definition reference page.

For an example of how to use this preset, see the ConnectRTShader Example


ConnectRTShader Example

function ConnectRTShader( in_preset )

{

	NewScene( null, false );

	var obj = Application.ActiveSceneRoot.AddGeometry( "Torus", "MeshSurface" );

	Application.Selection.SetAsText(obj);

	var oShader = CreateShaderFromPreset(in_preset, "Sources.Materials.DefaultLib.Scene_Material");

	SIConnectShaderToCnxPoint(oShader.FullName+".out", 

		"Sources.Materials.DefaultLib.Scene_Material.realtime", false);

	if (!oShader) { return null; }

	return (oShader.Type == "XSICollection") ? oShader(0) : oShader;

}