Component:CheckerboardCubemap: Difference between revisions

From Resonite Wiki
add info
template
 
Line 7: Line 7:
|Name=Checkerboard Cubemap
|Name=Checkerboard Cubemap
}}
}}
Procedurally generates a cubemap for [[Component:Projection360Material|Projection 360 Materials]] that is a checkerboard with different pairs of colors for each of the 6 sides.
The '''CheckerboardCubemap''' component procedurally generates a cubemap for [[Component:Projection360Material|Projection 360 Materials]] that is a checkerboard with different pairs of colors for each of the 6 sides.


<!--T:2-->
<!--T:2-->
Line 13: Line 13:
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|FilterMode|TextureFilterMode| The type of filtering to use for this texture.
|FilterMode|TextureFilterMode| {{Template:Texture FilterMode Field}}
|AnisotropicLevel|Int| The level of anisotropy to use when <code>TextureFilterMode</code> is set to '''Anisotropic'''
|AnisotropicLevel|Int| {{Template:Texture AnisotropicLevel Field}}
|MipmapBias|Float| Offset to the [[Texture MipMap|MipMap]] calculation.
|MipmapBias|Float| {{Template:Texture MipmapBias Field}}
|Profile|ColorProfile| The colorspace for this cubemap.
|Profile|ColorProfile| {{Template:Texture Profile Field}}
|Size|Int| The size of each side of the cubemap in pixels.
|Size|Int| The size of each side of the cubemap in pixels.
|Mipmaps|Bool| How many mipmaps the texture has, which are lower resolution textures for further distance to help with performance on the GPU.
|Mipmaps|Bool| {{Template:Texture Mipmaps Field}}
|Format|TextureFormat| The format of this cubemaps texture
|Format|TextureFormat| {{Template:Texture TextureFormat Field}}
|CheckerSize|Int| The size in pixels for 1 square of the checkerboard pattern.
|CheckerSize|Int| The size in pixels for 1 square of the checkerboard pattern.
|PosX_Color0|ColorX| {{Template:CheckerBoardCubeMap_Color|Positive|X|1}}
|PosX_Color0|ColorX| {{Template:CheckerBoardCubeMap_Color|Positive|X|1}}
Line 41: Line 41:
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
{{stub}}
Usually used for debugging, or for a fever dream chess world.
Usually used for debugging, or for a fever dream chess world.


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:Components{{#translation:}}|Checkerboard Cubemap]]
[[Category:Components{{#translation:}}|Checkerboard Cubemap]]
[[Category:Components:Assets:Procedural Cubemaps{{#translation:}}|Checkerboard Cubemap]]
[[Category:Components:Assets:Procedural Cubemaps{{#translation:}}|Checkerboard Cubemap]]

Latest revision as of 16:01, 19 November 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Checkerboard Cubemap component as seen in the Scene Inspector

The CheckerboardCubemap component procedurally generates a cubemap for Projection 360 Materials that is a checkerboard with different pairs of colors for each of the 6 sides.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
FilterMode TextureFilterMode How to handle the interpolation between pixels.
AnisotropicLevel Int The levels of Anisotropic filtering distances when using Anisotropic for FilterMode
MipmapBias Float Whether to see lower resolution versions of the texture closer up or not (MipMaps).
Profile ColorProfile The color profile to use for this texture's rendering.
Size Int The size of each side of the cubemap in pixels.
Mipmaps Bool Whether to enable the rendering of mipmaps, which are lower res textures at further distances from the camera to improve performance.
Format TextureFormat TextureFormat describes how Texture's pixel are stored in the VRAM.
CheckerSize Int The size in pixels for 1 square of the checkerboard pattern.
PosX_Color0 ColorX Color 1 for the Positive X direction image's checkerboard pattern.
PosX_Color1 ColorX Color 2 for the Positive X direction image's checkerboard pattern.
NegX_Color0 ColorX Color 1 for the Negative X direction image's checkerboard pattern.
NegX_Color1 ColorX Color 2 for the Negative X direction image's checkerboard pattern.
PosY_Color0 ColorX Color 1 for the Positive Y direction image's checkerboard pattern.
PosY_Color1 ColorX Color 2 for the Positive Y direction image's checkerboard pattern.
NegY_Color0 ColorX Color 1 for the Negative Y direction image's checkerboard pattern.
NegY_Color1 ColorX Color 2 for the Negative Y direction image's checkerboard pattern.
PosZ_Color0 ColorX Color 1 for the Positive Z direction image's checkerboard pattern.
PosZ_Color1 ColorX Color 2 for the Positive Z direction image's checkerboard pattern.
NegZ_Color0 ColorX Color 1 for the Negative Z direction image's checkerboard pattern.
NegZ_Color1 ColorX Color 2 for the Negative Z direction image's checkerboard pattern.

Usage

Put into the CubeMap field of a Projection 360 Materials to view what the skybox would look like.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Usually used for debugging, or for a fever dream chess world.

See Also