Is it possible to use "dataFieldTex.Sample()" in the geometry shader?
dataFieldTex is a Texture3D
No, you can only use sample in pixel shaders. You'll need to use something like Load or SampleLevel if you want to sample in VS or GS.
Jump to content
NeverKnowsBest hasn't added any contacts yet.