Difference between revisions of "Sample Texture3D UVW (LogiX node)"
Jump to navigation
Jump to search
DoubleStyx (talk | contribs) m |
DoubleStyx (talk | contribs) m |
||
Line 11: | Line 11: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Sample Texture3D UVW''' node samples the color of a pixel by locating it on the input 3D texture according to the specified position in UVW space. This node is distinct from from the [[Get_Texture_3D_Pixel_(LogiX_node)|Get Texture 3D Pixel]] node as it accepts a float3 instead of an int3; this lets the sampling be [https://en.wikipedia.org/wiki/Texture_filtering interpolated across pixels] rather than being constrained to individual pixels. | + | The '''Sample Texture3D UVW''' node samples the color of a pixel by locating it on the input 3D texture according to the specified position in [https://en.wikipedia.org/wiki/UV_mapping UVW space]. This node is distinct from from the [[Get_Texture_3D_Pixel_(LogiX_node)|Get Texture 3D Pixel]] node as it accepts a float3 instead of an int3; this lets the sampling be [https://en.wikipedia.org/wiki/Texture_filtering interpolated across pixels] rather than being constrained to individual pixels. |
== Usage == | == Usage == | ||
− | <code>Texture</code> is the texture you want to sample a pixel from. <code>Position</code> is the coordinate of the point you want to sample in | + | <code>Texture</code> is the texture you want to sample a pixel from. <code>Position</code> is the coordinate of the point you want to sample in UVW space, where the components of the input [[Types:Float3|float3]] range from 0.0 to 1.0. |
== Examples == | == Examples == |
Latest revision as of 03:48, 8 May 2022
Sample Texture3D UVW | ||
---|---|---|
Inputs | ||
Texture3D | Texture | |
Float3 | UVW | |
Outputs | ||
Color | Color |
The Sample Texture3D UVW node samples the color of a pixel by locating it on the input 3D texture according to the specified position in UVW space. This node is distinct from from the Get Texture 3D Pixel node as it accepts a float3 instead of an int3; this lets the sampling be interpolated across pixels rather than being constrained to individual pixels.
Usage
Texture
is the texture you want to sample a pixel from. Position
is the coordinate of the point you want to sample in UVW space, where the components of the input float3 range from 0.0 to 1.0.