Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 11 Aug 2007
Offline Last Active Aug 29 2016 11:33 PM

Posts I've Made

In Topic: HLSL Texture3D

19 February 2012 - 09:20 PM

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.

In Topic: [DX10] Rendering to 3D texture

07 January 2012 - 05:16 AM

Was a solution to this problem ever found? I currently am trying to do the exact same thing. I have yet to find a complete example on how to render into a texture volume and then sample from it later in another pass. My code looks very similar to the above, but it doesn't work either... In the second pass, when I'm sampling the volume, I can only get the clear color.