Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

[SOLVED] Implementing Dual Paraboloid Shadow Mapping

4: Adsense

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 CryZe   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 MJP   Moderators   

19402
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 CryZe   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.