问题 In shader model 3.0, I'm pretty sure this was a no but I want to ask this anyway, In shader model 5.0, can you sample a texture in a vertex shader? If I want to make large amounts of supplementary information available per-vertex, what are my options? Edit: Apparently it is possible to do a Vertex Texture Fetch, as done here, but when I try it in my hlsl shader model 5 program, I get the error error X4532: cannot map expression to vs_5_0 instruction set 回答1: Yes, sampling a texture from a