11 #ifndef BEASTMATERIAL_H
12 #define BEASTMATERIAL_H
184 float specularScale);
287 #endif // __cplusplus
290 #endif // BEASTMATERIAL_H
Definition: beastmaterial.h:37
Definition: beastmaterial.h:28
ILBStatus ILBSetSecondaryGICorrection(ILBMaterialHandle material, float intensity, float saturation)
Sets color correction on the secondary GI calculations on the material.
Color with alpha definition All colors are expressed in linear space as opposed to gamma corrected...
Definition: beastapitypes.h:356
ILBStatus ILBSetMaterialDisplayName(ILBMaterialHandle material, ILBConstString displayName)
Sets the display name for the material.
ILBStatus ILBSetPrimaryGICorrection(ILBMaterialHandle material, float intensity, float saturation)
Sets color correction on the primary GI calculations on the material.
ILBStatus ILBSetShaderParamInt(ILBMaterialHandle material, ILBConstString param, int32 value)
Sets an OSL integer input parameter for a material.
ILBStatus ILBFindMaterial(ILBSceneHandle scene, ILBConstString name, ILBMaterialHandle *material)
Checks if the material exists, if it does, it returns its handle.
This header is the base for getting platform consistent types for the Beast API.
ILBStatus ILBSetShaderParamFloat(ILBMaterialHandle material, ILBConstString param, float value)
Sets an OSL float input parameter for a material.
Definition: beastmaterial.h:38
const ILBCharType * ILBConstString
Beast api const string type.
Definition: beastapitypes.h:245
ILBStatus ILBSetAlphaAsTransparency(ILBMaterialHandle material, ILBBool alphaAsTransparency)
Sets if the material should use the alpha value of the diffuse channel as transparency.
ILBStatus ILBSetMaterialColor(ILBMaterialHandle material, ILBMaterialChannel channel, const ILBLinearRGBA *color)
Sets the color for a channel on a material.
ILBStatus ILBSetMaterialTexture(ILBMaterialHandle material, ILBMaterialChannel channel, ILBTextureHandle texture)
Sets the texture for a channel on a material.
Definition: beastmaterial.h:27
ILBStatus ILBSetGIScale(ILBMaterialHandle material, float diffuseBoost, float emissiveScale, float specularScale)
Sets boost and scaling factors for different aspects of the material in GI calculations.
ILBStatus ILBSetMaterialScale(ILBMaterialHandle material, ILBMaterialChannel channel, float scale)
Sets a scale for a channel on a material Will be multiplied with material color, texture and vertex c...
ILBStatus ILBFindShader(ILBManagerHandle beastManager, ILBConstString uniqueName, ILBShaderHandle *target)
Retrieves an OSL shader based on its unique name.
ILBStatus ILBSetMaterialUseVertexColors(ILBMaterialHandle material, ILBMaterialChannel channel)
Sets the material to use vertex color for a channel.
Definition: beastmaterial.h:36
Definition: beastmaterial.h:26
ILBStatus ILBSetShaderParamUV(ILBMaterialHandle material, ILBConstString param, ILBConstString value)
Connects an UV set to an OSL UV input parameter for a material.
ILBStatus ILBSetChannelUVLayer(ILBMaterialHandle material, ILBMaterialChannel channel, ILBConstString uvLayerName)
Sets what UV layer should be used for the texture for a color channel.
Definition: beastmaterial.h:25
Definition: beastmaterial.h:24
Definition: beastmaterial.h:30
Handle for Beast materials Intentionally hidden implementation.
Definition: beastapitypes.h:443
Handle for Beast textures Intentionally hidden implementation.
Definition: beastapitypes.h:450
ILBStatus ILBSetShader(ILBMaterialHandle material, ILBShaderHandle shader)
Assigns an OSL shader to a material.
ILBStatus ILBCreateMaterial(ILBSceneHandle scene, ILBConstString name, ILBMaterialHandle *material)
Add a material to the scene.
ILBMaterialChannel
Defines the different channels in the Beast API shading model.
Definition: beastmaterial.h:23
ILBStatus ILBSetShaderParamTexture(ILBMaterialHandle material, ILBConstString param, ILBTextureHandle value)
Sets an OSL texture input parameter for a material.
ILBStatus ILBSetMaterialTextureWrapMode(ILBMaterialHandle material, ILBMaterialChannel channel, ILBMaterialChannelWrapMode wrapModeU, ILBMaterialChannelWrapMode wrapModeV, ILBTextureHandle texture)
Sets the texture wrap mode for a channel on a material.
Handle for Beast managers Intentionally hidden implementation.
Handle for an OSL shader.
Definition: beastapitypes.h:522
Color definition All colors are expressed in linear space as opposed to gamma corrected.
Definition: beastapitypes.h:338
ILBMaterialChannelWrapMode
Definition: beastmaterial.h:35
int32 ILBBool
Bool type with a well defined size to avoid compatibility-problems.
Definition: beastapitypes.h:284
Definition: beastmaterial.h:29
Handle for Beast scenes Intentionally hidden implementation.
Definition: beastapitypes.h:408
ILBStatus
Status codes for Beast API calls.
Definition: beastapitypes.h:153
ILBStatus ILBSetShaderParamColor(ILBMaterialHandle material, ILBConstString param, ILBLinearRGB *value)
Sets an OSL color input parameter for a material.
Definition: beastmaterial.h:31
ILBStatus ILBCreateShader(ILBManagerHandle beastManager, ILBConstString uniqueName, ILBConstString fileName, ILBShaderHandle *target)
Compiles and creates a representation of an OSL shader.