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"

showflag.shadercomplexity 1 does not function for ES2 feature level

Hi Guys,

Looks like the console command:

ShowFlag.ShaderComplexity 1

Does not work in mobile preview or when setting the rendering feature level to "Mobile/HTML5". We only get a black screen. This is on OSX. Normal feature level works just fine. This is important for material optimization on mobile.


Product Version: UE 4.7
more ▼

asked May 15 '15 at 09:59 AM in Bug Reports

avatar image

399 19 31 238

avatar image Doug E ♦♦ STAFF May 19 '15 at 02:29 PM

Hey TommyBear-

I tested the ShowFlag command in the Third Person Template project and everything appeared green when ShaderComplexity was set to 1. Can you confirm this in a new project or does the screen still appear black for you? Additionally are you seeing this in edit mode or while in Play in Editor or both?


Doug Wilson

avatar image TommyBear May 19 '15 at 02:49 PM

Hi Doug,

I'll do a thorough run through tomorrow morning! Thanks for taking a look.


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

2 answers: sort voted first

Hey TommyBear-

Using the project that you sent I did see the same behavior however I was not able to reproduce it on a new project. Was there anything you changed in the project you submitted other than create it and change the preview render level before entering the console command?

Additionally I found that in removing/deleting the DefaultEngine.ini file from the project's config folder will cause the project to behave as expected and display either red or green. Let me know if doing so has the same effect for you as well.


Doug Wilson

more ▼

answered May 27 '15 at 12:56 PM

avatar image TommyBear May 28 '15 at 01:42 AM

Okay so I renamed the defaultengine.ini and relauched. It went to a default engine scene, on which the command does work. I checked the ReflectionVectorTesting scene and it is still all black.

I diffed the two versions of the defaultengine.ini file and there is little different, apart from the editor start up level:

alt text

So settings are now the cause. It looks like it is material related, hence I sent the project with the current materials. So this is still an issue.

avatar image Lovecraft_K ♦♦ STAFF May 28 '15 at 08:10 PM

Hi Tommy -

This issue is reproducible on a Mac, but also seems to be fixed in an internal branch of the engine. I am not certain if the fix has made it through testing in time for release in 4.8, if not it will be in the next available engine release.

Thank You

Eric Ketchum

avatar image TommyBear May 30 '15 at 02:38 AM

Super awesome Eric! Good news! Thank you very much for your time!!!


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

Hey TommyBear-

We've not heard back from you in a few days. Were you able to test the ShowFlag.ShaderComplexity issue in a new project? Let us know if you're still having any issues with using the ShaderComplexity setting.


Doug Wilson

more ▼

answered May 26 '15 at 05:45 PM

avatar image TommyBear May 27 '15 at 09:30 AM

I have produced it in a new project. I will send it through ASAP


avatar image TommyBear May 27 '15 at 09:48 AM

Here it is:

link text

Open this project, then open the "ReflectionVectorTesting" level. Drop down the "Settings" in the toolbar and select Preview Rendering Level | Mobile / HTML 5 . Then press ~ and execute ShowFlags.ShaderComplexity 1.

Screen will turn black. This is the same on device also.


(comments are locked)
10|2000 characters needed characters left
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