Added FX Materials
* Added FX Shader Materials * Added Projector Actor
This commit is contained in:
4
doc/files/converttonormalmap.txt
Normal file
4
doc/files/converttonormalmap.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
#title ConvertToNormalMap [RCBasic Doc]
|
||||
#header sub ConvertToNormalMap(img_id, amp)
|
||||
|
||||
Converts an image to a format for normal maps
|
||||
@@ -1,4 +1,4 @@
|
||||
#title CreateConeMesh [RCBasic Doc]
|
||||
#header Function CreateConeMesh( radius, cone_length, tesselation, top_color, bottom_color )
|
||||
|
||||
|
||||
Create a cone mesh
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#title CreateCylinderMesh [RCBasic Doc]
|
||||
#header Function CreateCylinderMesh( radius, cylinder_length, tesselation, color, close_top )
|
||||
|
||||
|
||||
Create a cylinder mesh
|
||||
|
||||
6
doc/files/createprojectoractor.txt
Normal file
6
doc/files/createprojectoractor.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title CreateProjectorActor [RCBasic Doc]
|
||||
#header Function CreateProjectorActor()
|
||||
|
||||
Create a projector actor.
|
||||
|
||||
Projector actors can be used to project a texture over objects in its field of view.
|
||||
@@ -1,4 +1,4 @@
|
||||
#title CreateVolumeLightMesh [RCBasic Doc]
|
||||
#header Function CreateVolumeLightMesh( u, v, foot_color, tail_color, lp_distance, dim_x, dim_y, dim_z )
|
||||
|
||||
|
||||
Create a mesh to represent a light volume.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#title DeleteAN8 [RCBasic Doc]
|
||||
#header Sub DeleteAN8( an8_project )
|
||||
|
||||
|
||||
Clears a anim8or project from program memory.
|
||||
|
||||
4
doc/files/getgpuinfo.txt
Normal file
4
doc/files/getgpuinfo.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
#title GetGPUInfo$ [RCBasic Doc]
|
||||
#header function GetGPUInfo$()
|
||||
|
||||
Returns the GPU Vendor info
|
||||
6
doc/files/getmaterialconstant.txt
Normal file
6
doc/files/getmaterialconstant.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title GetMaterialConstant [RCBasic Doc]
|
||||
#header Sub GetMaterialConstant(material, m_constant$, ByRef n1, ByRef n2, ByRef n3, ByRef n4)
|
||||
|
||||
Gets the constant value of an FX material
|
||||
|
||||
#ref SetMaterialConstant
|
||||
8
doc/files/getmaterialconstantname.txt
Normal file
8
doc/files/getmaterialconstantname.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
#title GetMaterialConstantName$ [RCBasic Doc]
|
||||
#header Function GetMaterialConstantName$(material_type, index)
|
||||
|
||||
Returns the name of a uniform for an FX material type
|
||||
|
||||
NOTE: index should be a number between 0 and NumMaterialConstants
|
||||
|
||||
#ref NumMaterialConstants
|
||||
6
doc/files/getprojectorfov.txt
Normal file
6
doc/files/getprojectorfov.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title GetProjectorFOV [RCBasic Doc]
|
||||
#header Function GetProjectorFOV(actor)
|
||||
|
||||
Returns the field of view for a projector
|
||||
|
||||
#ref SetProjectorFOV
|
||||
6
doc/files/getprojectortarget.txt
Normal file
6
doc/files/getprojectortarget.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title GetProjectorTarget [RCBasic Doc]
|
||||
#header Sub GetProjectorTarget(actor, ByRef x, ByRef y, ByRef z)
|
||||
|
||||
Get the point a projector is looking at
|
||||
|
||||
#ref SetProjectorTarget
|
||||
6
doc/files/getsceneambientcolor.txt
Normal file
6
doc/files/getsceneambientcolor.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title GetSceneAmbientColor [RCBasic Doc]
|
||||
#header Function GetSceneAmbientColor()
|
||||
|
||||
Returns the ambient light color of the scene
|
||||
|
||||
#ref SetSceneAmbientColor
|
||||
6
doc/files/getsceneshadowcolor.txt
Normal file
6
doc/files/getsceneshadowcolor.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title GetSceneShadowColor [RCBasic Doc]
|
||||
#header Function GetSceneShadowColor()
|
||||
|
||||
Returns the shadow color of the scene
|
||||
|
||||
#ref SetSceneShadowColor
|
||||
4
doc/files/nummaterialconstants.txt
Normal file
4
doc/files/nummaterialconstants.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
#title NumMaterialConstants [RCBasic Doc]
|
||||
#header Function NumMaterialConstants(material_type)
|
||||
|
||||
Returns the number of shader uniforms for an FX material
|
||||
6
doc/files/setmaterialconstant.txt
Normal file
6
doc/files/setmaterialconstant.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title SetMaterialConstant [RCBasic Doc]
|
||||
#header Sub SetMaterialConstant(material, m_constant$, n1, n2, n3, n4)
|
||||
|
||||
Sets the constant value of an FX material
|
||||
|
||||
#ref GetMaterialConstant
|
||||
6
doc/files/setprojectorfov.txt
Normal file
6
doc/files/setprojectorfov.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title SetProjectorFOV [RCBasic Doc]
|
||||
#header Sub SetProjectorFOV(actor, fov)
|
||||
|
||||
Set the field of view for a projector
|
||||
|
||||
#ref GetProjectorFOV
|
||||
4
doc/files/setprojectortarget.txt
Normal file
4
doc/files/setprojectortarget.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
#title SetProjectorTarget [RCBasic Doc]
|
||||
#header Sub SetProjectorTarget(actor, x, y, z)
|
||||
|
||||
Set the point a projector is pointed at
|
||||
6
doc/files/setsceneambientcolor.txt
Normal file
6
doc/files/setsceneambientcolor.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title SetSceneAmbientColor [RCBasic Doc]
|
||||
#header Sub SetSceneAmbientColor(color)
|
||||
|
||||
Sets the ambient light color of the scene
|
||||
|
||||
#ref GetSceneAmbientColor
|
||||
6
doc/files/setsceneshadowcolor.txt
Normal file
6
doc/files/setsceneshadowcolor.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#title SetSceneShadowColor [RCBasic Doc]
|
||||
#header Sub SetSceneShadowColor(color)
|
||||
|
||||
Sets the shadow color of the scene
|
||||
|
||||
#ref GetSceneShadowColor
|
||||
Reference in New Issue
Block a user