Difference between revisions of "Get Texture 2D Pixel (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m
m
Line 14: Line 14:
 
The '''Get Texture 2D Pixel''' node returns the color of a pixel by locating it on the input 2D texture according to the specified position.
 
The '''Get Texture 2D Pixel''' node returns the color of a pixel by locating it on the input 2D texture according to the specified position.
 
== Usage ==
 
== Usage ==
<code>Texture</code> is the texture you want to sample a pixel from. <code>Position</code> is the index of the pixel you want to sample. <code>MipLevel</code> is the [https://en.wikipedia.org/wiki/Mipmap mipmap level] of the texture to sample from.
+
<code>Texture</code> is the texture you want to get a pixel from. <code>Position</code> is the index of the pixel you want to sample. <code>MipLevel</code> is the desired [https://en.wikipedia.org/wiki/Mipmap mipmap level] of the input texture.
  
 
== Examples ==
 
== Examples ==

Revision as of 04:07, 7 May 2022

Get Texture 2D Pixel
'Get Texture 2D Pixel' LogiX node
Inputs
  Texture2D Texture
  Int2 Position
  Int MipLevel
Outputs
  Color Color

The Get Texture 2D Pixel node returns the color of a pixel by locating it on the input 2D texture according to the specified position.

Usage

Texture is the texture you want to get a pixel from. Position is the index of the pixel you want to sample. MipLevel is the desired mipmap level of the input texture.

Examples

Node Menu

Assets
Back Attach Audio Clip Attach Mesh Attach Sprite Attach Texture2D Bake Meshes Find Animation Track Index
Format Locale String Get Asset`1 Get Texture 2D Pixel Get Texture 3D Pixel Locale Message Count Sample Animation Track`1 Sample Texture2D UV
Sample Texture3D UVW Texture 2D Format Texture 3D Format