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"

Bad HDR Sun in Moible devices

Hi I am making a space game , I made a sun by slapping pale yellow colour on a spherical mesh and then multiplying it by 50 then linking it to the emmissive material node. alt text

It worked exactly as intended in the editor but when deployed to the device the sun just turned into a white ball

In the editor alt text

And white ball in the actual device alt text

Device details Samsung Galaxy S3 GT-I9300 Mali400 GPU android 4.3 Jelly bean Engine Version 4.5.1 Mobile HDR is Enabled in project settings -> rendering (if I turn it off the sun becomes white ball in editor as well)

I suppose that it is due to some limitation of the device hardware? In case it is then what are the workarounds and alternatives? I have seen HDRish sun in the game "Gravity" available in play store , I just don't know how they did it

Product Version: Not Selected
Tags:
more ▼

asked Nov 18 '14 at 02:56 PM in Rendering

avatar image

Commander Shepard
817 62 83 220

avatar image Commander Shepard Nov 19 '14 at 07:06 AM

Oh com'on nobody knows?

avatar image Hellcat Nov 19 '14 at 09:52 AM

You are missing most of the post processing effects, namely the bloom on the sun.

Not sure if UE4's mobile render pipeline doesn't support those at all, or if they can/need to be enabled somehow, but I think it just doesn't support them.

avatar image Commander Shepard Nov 19 '14 at 10:18 AM

bloom you say? I thought it was HDR see the line I wrote "if I turn it off (the HDR) the sun becomes white ball in editor as well"

avatar image Hellcat Nov 19 '14 at 02:18 PM

Some of the postproccessing effects affect each other. In my current project for example I don't get lensflares when turning off bloom. So its likely that when the HDR (automatice exposure) is turned off, the exposure is at a value where no blooming accours. If those two are indeed connected, it would explain why you never have blooming on your mobile sun, as automatic exposure is not supported on mobile platforms according to this: https://docs.unrealengine.com/latest/INT/Platforms/Mobile/PostProcessEffects/index.html

// EDIT: You can try playing with the "Auto Exposure Bias" value, see if that helps.

avatar image Commander Shepard Nov 20 '14 at 02:29 PM

So anyone knows any workaround to make light emmitting and glowing stuff , like the sun

avatar image AndrewHurley Nov 20 '14 at 02:33 PM

Hello Commander Shepard,

Are you receiving and error message after building your light? Also do you have the mobile previewer enabled in your material editor?

Here is some helpful documentation on developing Materials and Lighting for Mobile Platforms.

Mobile Materials

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Materials/index.html#troubleshootingmaterialsformobile

Mobile Lighting

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Lighting/index.html

Thanks,

Andrew Hurley

avatar image Commander Shepard Nov 21 '14 at 12:03 PM

Oh no! Seriously? no dynamic lights on mobile devices? REALLY? Great!

but why? There are so many games I've seen that use dynamic lighting , its not something that mobile hardware is incapable of handling! Also there are so many other things that are unnecessarily disabled for mobile devices. Its likely that all devices are being treated as of having same performance and applying a global limit to all devices derived from the worst performing device.

This is rather annoying! I do know that PC is the main target for the engine and only 2D games are recommended for mobile devices but this should not be the case. Please enable or at least give the developers an option to enable or disable dynamic lights and not to keep it hardcoded disabled

-Thank You

avatar image Commander Shepard Nov 21 '14 at 03:45 PM

This thing is not solved yet ( see the question) And I haven't accepted the answer

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

1 answer: sort voted first

Currently we only support Dynamic Directional Lights. Dynamic point lights and Dynamic Spot Lights are not supported as each light adds and extra shader permutation and the maintenance burden is too high. We might be implementing this in the future as these devices become more powerful, but it is not currently on the roadmap.

more ▼

answered Nov 21 '14 at 07:04 PM

(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