Hi thanks for stopping by !
I'm currently making a Terrain. I have used the heightfield tool to create maps in order to texture my terrain. The “heightfield output” node generates packed textures. Each terrain layer(beckrock, sediment, water, flow) is stored inside a color channel. I want to extract the color information from my texture.
How would you go about extracting color information(R,G,B,A) from a texture map inside the material tab ?
I tried modifying the channel parameter inside a texture node but it didn't work.
Thank you for your time.
ElPolloLoco6498
Extract RGBA channel informations from texture
3660 2 0- ElPolloLoco6498
- Member
- 4 posts
- Joined: Dec. 2016
- Offline
- tamte
- Member
- 8551 posts
- Joined: July 2007
- Offline
Texture Channel parm is to specify the AOV or layer in your image (for image formats that can hold image layers like .exr, .rat, …)
you can leave it blank for beauty layer
the clr output on your Texture VOP is Vector4 and contains RGBA channels for your layer (Texture Channel)
so just append Vector4-to-float VOP to split it to float R,G,B,A values
clr can also be Vector3 if the signature is RGB Values instead of RGBA Values, in that case you can use Vector-to-float
you can leave it blank for beauty layer
the clr output on your Texture VOP is Vector4 and contains RGBA channels for your layer (Texture Channel)
so just append Vector4-to-float VOP to split it to float R,G,B,A values
clr can also be Vector3 if the signature is RGB Values instead of RGBA Values, in that case you can use Vector-to-float
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- ElPolloLoco6498
- Member
- 4 posts
- Joined: Dec. 2016
- Offline
-
- Quick Links