lib.3d.draw.DrawMesh - tooll3/t3 GitHub Wiki
in lib.3d.draw
Uses PBR rendering to draw a mesh using the current settings for material, fog, point lights, transform and camera. For convenience Tooll adds a default reflection and two point lights attached to the camera to a RenderTarget. You can override these by adding [SetEnvironment] and [SetMaterial] operators further up (further right) in your graph.
You can adjust various parameters to achieve wireframe or both sided rendering.
Also take a look at [DrawMeshAtPoints], [DrawMeshUnlit], [DrawMeshHashed] and the [HowToDrawThings] playground.
Name (Relevancy & Type) | Description |
---|---|
Mesh (MeshBuffersRequired) | - |
Color (Vector4) | Additional color that gets multiplied on result of mesh material settings. |
BlendMode (Int32) | - |
Culling (CullMode) | - |
EnableZTest (Boolean) | If enabled discards fragments sorted out by by z-buffer. |
EnableZWrite (Boolean) | - |
AlphaCutOff (Single) | - |
FillMode (Int32) | - |
Filter (Filter) | - |
AddressU (TextureAddressMode) | - |
Name | Type |
---|---|
Output | T3.Core.DataTypes.Command |
Please help use to improve this documentation. Feel free to improve the description.
⚠ Everything else is automatically generated and will be overwritten regularly.