x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to extract shadows render pass

Hello,I want to extract shadows for composite.The shadow is white and other objects are black,For example this picture

alt text

Product Version: UE 4.18
Tags:
shdow.jpg (72.2 kB)
more ▼

asked Apr 16 '18 at 05:16 PM in Rendering

avatar image

lightwave-soul
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

你好,引擎目前不提供这个功能.但是AO信息可以通过Sequence的Custom Render Pass导出. 该功能如果需要可能需要你们修改引擎代码自行实现,切入点建议参考引擎的Lighting Only显示模式.

more ▼

answered Apr 19 '18 at 07:40 AM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

感谢您的答复,其实是这样的,我只是想把阴影渲染成图片,不需要看见物体,不知道有没有从gbuffer中提取出来的方法

more ▼

answered Apr 20 '18 at 02:00 PM

avatar image

lightwave-soul
1 1

avatar image Feng.Li STAFF Apr 20 '18 at 02:30 PM

GBuffer内不含阴影信息,一般来说,影子是从每个投影的灯光做shadowmap,然后拿来跟GBuffer里的位置做比较来渲染阴影的的。

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question