Syntax
PixelShaderID = dbLoadPixelShader(Filename.s, PixelShaderID)
Description
If #PB_Any is used as the PixelShaderID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the PixelShaderID parameter.
This command will create a pixel shader from a specified text file. Use this command in concert with other pixel shader commands to create a special effect on a 3D object. Pixel shaders are powerful programmable effects, and not all 3D devices support them.
See Also
dbDeletePixelShader, dbDeleteVertexShader, dbLoadEffect, dbLoadVertexShader, dbSetPixelShaderOff, dbSetPixelShaderOn, dbPixelShaderExist, dbVertexShaderExist