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"

[Closed] Scene Capture Components - Render Depth / GBuffer to Texture in BP

Alright, so I am no stranger to code and such, but I am attempting a quick prototype so I want to know if I can script if first before making my own components and shaders. There are two ways I am thinking about doing this and I am having troubles figuring out if I can access the depth buffer from a SceneCaptureComponent, or does it only output the final scene color? I see two options, one that is the scene color and another that is the scene color + post processing effects. I am essentially looking to access the 'textures' before the final scene color.

If not, then how would I, how may I, set up cameras to capture the depth of a certain area in a level, from a certain angle, and pass in that camera as the capturing camera for a material and get the scene depth from that?

Ultimately, if you have not surmised yourself, I am looking to render the depth of a given view (independent of the player's view) to a texture. I will then use that texture depth map to dynamically apply the world offset to a material.

If I can do this in scripting, please point me to the right place and material types, as well as components. If not, just let me know so I can start writing code :D

As always, Thank you!

Product Version: Not Selected
more ▼

asked Dec 05 '14 at 02:45 PM in Rendering

avatar image

133 4 7 11

avatar image BharatSingh Mar 11 '15 at 04:33 AM

did you figure out the solution to this?

avatar image smartyMARTY Mar 11 '15 at 12:32 PM

I got a good start with this:https://forums.unrealengine.com/showthread.php?27766-Odessey-Creating-my-own-G-Buffer-in-UE4. As well as some of the blueprint tutorials such as the Office and the one with the flag.

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

The question has been closed Dec 10 '14 at 02:58 PM by smartyMARTY for the following reason:

Question is off-topic or not relevant

0 answers: sort voted first

Follow this question

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

Answers to this question