Jump to content

  • Log In with Google      Sign In   
  • Create Account

[SOLVED] Implementing Dual Paraboloid Shadow Mapping


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
2 replies to this topic

#1   Members   

773
Like
0Likes
Like

Posted 18 July 2012 - 08:33 AM

I have 2 questions:

1. Is it possible to only use a geometry shader without using any other shaders? I know it's possible to just use a vertex shader without using any other shaders, is it possible with a geometry shader as well, or does it require a vertex shader?

2. I saw that you can use a Texture2DArray, not just a slice of it, to construct an ID3D11DepthStencilView. Is it actually possible and if so, how do I write the individual depth values from a shader (not per pixel, since I don't want to use a pixel shader)?

#2   Moderators   

18213
Like
1Likes
Like

Posted 18 July 2012 - 06:09 PM

1. You need to use a vertex shader.
2. You can select which array slice to use with SV_RenderTargetArrayIndex, which you can output from your geometry shader.

#3   Members   

773
Like
0Likes
Like

Posted 19 July 2012 - 05:17 AM

Thank you :)




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.