Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


NeverKnowsBest

Member Since 11 Aug 2007
Offline Last Active Jul 19 2012 01:52 AM

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.

PARTNERS