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"

[Closed] Explicit Draw Order

In CCP's talk on making Gunjack for GearVR, they reference being able to control the draw order of elements in their scene.

I couldn't find any such settings on meshes or materials. Is this an exposed feature in the engine or something that involves tweaking the mobile renderer?

Thanks,

-Richard

Product Version: Not Selected
Tags:
more ▼

asked Sep 22 '16 at 06:39 PM in Rendering

avatar image

Answers.Archive STAFF
1.9k 197 306 677

(comments are locked)
10|2000 characters needed characters left

The question has been closed Sep 22 '16 at 06:41 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi Richard, the engine on the 4.13 mobile renderer always sorts front to back (TStaticMeshDrawList::SortFrontToBack()), but they might have been using an older version where you had to specify its order.

more ▼

answered Sep 22 '16 at 06:39 PM

avatar image

Answers.Archive STAFF
1.9k 197 306 677

avatar image Answers.Archive STAFF Sep 22 '16 at 06:39 PM

Thanks for that Rolando! I see TStaticMeshDrawList::SortFrontToBack in 4.12 (which we are using). Do you know if there is a way to make sure the Skybox is drawn first? Since the camera is inside of it, it may not always sort correctly.

avatar image Answers.Archive STAFF Sep 22 '16 at 06:39 PM
avatar image Answers.Archive STAFF Sep 22 '16 at 06:39 PM

It seems like having the ability to flag certain objects to draw last, such as the sky box, could help with performance on all platforms. If this isn't possible, could we add it as a nifty feature request?

avatar image Answers.Archive STAFF Sep 22 '16 at 06:39 PM

Added ticket UE-34718 as a feature request. Good catch!

(comments are locked)
10|2000 characters needed characters left

Follow this question

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

Answers to this question