CubeMapMaterial_v2 Op

CubeMapMaterial

use a cubemap or equirectangular texture as a material


<p>This op can be used to render cubemaps onto meshes.</p> <p>It can be used as a skybox material, i.e. setting a scene&#39;s background. It can also be used as a metallic looking material by using the colorize option.</p>


Full Name
  • Ops.Gl.CubeMap.CubeMapMaterial_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch CubeMapMaterial example

Example patch for the CubeMapMaterial op.

Open In Editor

INPUT PORTS


render (Trigger)

<p>Trigger input</p>

Cubemap (Object)

<p>Texture input, either cubemap or equirectangular</p>

Appearance

Use Reflection (Number:

<i>boolean</i>

)

<p>Check to use the reflection vector</p>

Blur (Number)

<p>The amount of blur/miplevel</p>

Transforms

Rotation (Number)

<p>Rotate the texture</p>

Flip X (Number:

<i>boolean</i>

)

<p>flip the x axis</p>

Flip Y (Number:

<i>boolean</i>

)

<p>flip the y axis</p>

Flip Z (Number:

<i>boolean</i>

)

<p>flip the z axis</p>

Color

Colorize (Number:

<i>boolean</i>

)

<p>Check to multiply color to the texture</p>

R (Number)

<p>R component of the multiplied color</p>

G (Number)

<p>G component of the multiplied color</p>

B (Number)

<p>B component of the multiplied color</p>

OUTPUT PORTS


trigger (Trigger)

<p>Trigger output</p>


Patches using CubeMapMaterial_v2

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarsimod - 2020-04-08 12:27
Ops.User.cables.CubeMapMaterial_v2 renamed to Ops.Gl.CubeMap.CubeMapMaterial_v2user avatarsimod - 2020-04-08 12:30