CubeMapMaterial_v2 Op

CubeMapMaterial

use a cubemap or equirectangular texture as a material


This op can be used to render cubemaps onto meshes.

It can be used as a skybox material, i.e. setting a scene's background. It can also be used as a metallic looking material by using the colorize option.


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)

Trigger input

Cubemap (Object)

Texture input, either cubemap or equirectangular

Appearance

Use Reflection (Number: boolean)

Check to use the reflection vector

Blur (Number)

The amount of blur/miplevel

Transforms

Rotation (Number)

Rotate the texture

Flip X (Number: boolean)

flip the x axis

Flip Y (Number: boolean)

flip the y axis

Flip Z (Number: boolean)

flip the z axis

Color

Colorize (Number: boolean)

Check to multiply color to the texture

R (Number)

R component of the multiplied color

G (Number)

G component of the multiplied color

B (Number)

B component of the multiplied color

OUTPUT PORTS


trigger (Trigger)

Trigger output


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