Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


DX11 - Volume Rendering - Article Misunderstanding


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
23 replies to this topic

#21 Migi0027 =A=   Crossbones+   -  Reputation: 1971

Like
0Likes
Like

Posted 09 September 2013 - 12:33 PM

You seem awfully quiet about this subject, did I do something stupid? huh.png


Hi! Cuboid Zone
The Rule: Be polite, be professional, but have a plan to steal all their shaders!


Sponsor:

#22 Styves   Members   -  Reputation: 1055

Like
0Likes
Like

Posted 09 September 2013 - 03:00 PM

A few things:

 

  • What format is your back/front textures? If it's 8bit you should scale to 0-1 range for output (if you're using HDR values then you should be fine).
  • Your position should be in texture space. That is, bias and scale it from [-1, 1] to [0, 1] (pos * 0.5 + 0.5) when you read your texture.


#23 Migi0027 =A=   Crossbones+   -  Reputation: 1971

Like
0Likes
Like

Posted 10 September 2013 - 09:39 AM

The format is: DXGI_FORMAT_R32G32B32A32_FLOAT


Hi! Cuboid Zone
The Rule: Be polite, be professional, but have a plan to steal all their shaders!


#24 Migi0027 =A=   Crossbones+   -  Reputation: 1971

Like
0Likes
Like

Posted 10 September 2013 - 10:29 AM

Btw, when adding the normalization of the rays, this happens: ( It repeats itself )

 

2e3prut.png

float3 dir = normalize(back - front);

Hi! Cuboid Zone
The Rule: Be polite, be professional, but have a plan to steal all their shaders!





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS