Easier way to use Texture2D array in shader

前端 未结 0 1934
傲寒
傲寒 2021-01-16 09:23

I want to use Texture2D array by easier way in PixelShader.

That is,

PS

Texture2D map[3] : register(0);

if (input.index == 0)
    color = map[i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题