Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

[ad_1]

I am rendering in ahead mode my scene with its depth buffer and since I am utilizing animated characters I am plannig to discover a manner to make use of a number of rendertargets to do the directional shadow go on the similar time utilizing a geometry shader. The rationale for that is additionally that I’ve organized my shadowmap measurement to be the identical because the display measurement. Furthermore I am doing “clear coloured shadows” impressed from right here that requires for my wants an additional colour channel and an extra depth data. The impact is cool however has some impression on the efficiency so doing the animation solely as soon as needs to be attention-grabbing.
So my plan is :

with geometry shader:

ship to RTV0+Depth0 the scene

ship to RTV1+RTV2+Depth1 shadow coloured(RTV1)+extra depth layer(RTV2) and common shadowmap (depth1)

at the moment I’ve these two rendering made in two passes (scene then shadows).

I’ve already used depthmap dice for pointlight shadow so I’m wondering if we are able to use 2Darray depth with a number of targets.

If utilizing 2DARRAY depth with 2Darray rendertarget is feasible I am questioning how this have to be organized.
Do we want the variety of slices for the goal 2Darray to match the variety of slice for the depth 2DArray or is it potential to make use of much less depth buffer than the variety of rendertarget? Or can the variety of goal per depth not be the identical? Is the machine managing this robotically and the way?

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *