Home Unreal Engine

TextureCube + Custom Texture Node

Is it possible to sample a cubemap from a custom node? I want to be able to use texCUBElod to sample lower MIP levels of my cube maps. For a normal 2d texture I can simply create a Custom Texture node and connect it to the Custom node and use tex2D. However, when I set the texture in my Custom Texture node to a cubemap, I get an error "(Node Custom) Bad type textureCube for Custom input cube"

Replies

  • lpcstr
    Options
    Offline / Send Message
    You can just use a equirectangular environment map to get by with just tex2Dlod, but that won't work so well if you are generating dynamic environment maps.

    This seems like an obvious oversight on Epic's part, one which they could probably have easily fixed many times by now. :poly117:
Sign In or Register to comment.