Search Unity

65 コメント



  1. What is the impact of enlighten?Is it going to stuggle with something like a gtx780 like eu4 or is it less demanding in therms of hardware?

    1. Jesper Mortensen

      10月 23, 2014 8:43 am

      The run-time part of Enlighten is CPU only and is asynchronous so it will not affect the frame-rate of your game much. Of course the “frame-rate” of your lighting is dependent on the scale of your scene. But Enlighten is extremely fast and hand-optimized for many platforms. This is why realtime GI is also viable on mobile platforms.

  2. Oliver Bentzen

    9月 26, 2014 1:59 pm

    will you be able to use realtime GI on rigidbodies like a ragdoll for example?

    1. Jesper Mortensen

      9月 26, 2014 2:03 pm

      Yes, we have real-time updated light probes which you can light your dynamic objects with, so that they merge seamlessly into your lighting setup. The probes contain the same real-time GI as is applied to static objects.

      1. Oliver Bentzen

        10月 18, 2014 3:03 pm

        You said something about light probes. Does that mean that you have to make a light map to get GI? Or does making a light do it?

        1. Jesper Mortensen

          10月 22, 2014 8:45 am

          In order to get realtime light probes you need to have bounce between the surfaces in the scene and this in turn requires realtime lightmaps. However, to get realtime lightmaps you only need to enable a realtime GI light in your scene, then your light probes will automatically be updated with the lighting from that light too in addition to any baked lights.

  3. Anton Matrosov

    9月 23, 2014 9:32 pm

    And another question: what exact controls will we have over static lightmap components? I’ve used to color grade them heavily in photoshop, so can we expect exposure / contrast / color correction at least (preferrably in HSV and Lab space)? Or can we just have them exposed to Editor scripting APIs?

    1. Jesper Mortensen

      9月 24, 2014 8:48 am

      The lightmaps will be exposed in the same way as before. So you can mess with them after the fact.

    2. hamz whatfhuekfifufdsjkgifq

  4. Anton Matrosov

    9月 23, 2014 8:56 pm

    Will it be possible to hide certain objects from camera but still make them cast and receive GI (realtime and/or baked)?

    1. Jesper Mortensen

      9月 24, 2014 8:47 am

      Yes, this is especially effective with static emissive objects. You can then animate the emissive properties of the object to make parts of your scene light up. This lighting will have “low-frequency” but correct occlusion. You can choose not to render the object by assigning it to a custom layer and set the culling mask of the camera to not include this custom layer.

  5. Jesper Mortensen

    9月 22, 2014 9:20 am

    1. Daniel Pots

      9月 23, 2014 6:10 pm

      Seems to be many people wanted that shader. I can’t download because it was downloaded too many times :). Anyone’s so kind and post a mirror or send it to me via mail? I don’t wanna wait 24 hours.

      1. Jesper Mortensen

        9月 23, 2014 8:34 pm

        Should download fine, but have also dropped you a mail just to be sure.

    2. Kuba Cupisz

      9月 24, 2014 9:27 am

      That version has the light following commented out. Just uncomment it if you find it useful.

  6. Jesper Mortensen

    9月 22, 2014 9:17 am

    @MARKUS SCHMIDT, we have no plans for shipping this in its current state.

  7. Jesper Mortensen

    9月 22, 2014 9:11 am

    @SHKARFACE NOORIORI, the Stockholm demo team is working on something that may ship with Unity 5.

    Sounds good, makes a bit more sense now! Thanks for chiming in to enlighten me, on a weekend no less.

    Ok yes.. pun intended :)

  9. Joachim Ante

    9月 21, 2014 12:35 am


    Procedural levels at level load will not be supported in regards to realtime GI in 5.0. We will investigate in the future, but have no concrete plan.

    That said, reflection probes + all the physically based standard shader goodness can be used without enlighten. Enlighten add’s only the bounce light part, everything else will continue to work even if you bake your scenes with enlighten.

  10. Joachim Ante

    9月 21, 2014 12:31 am

    You can place as many dynamic objects as you like. They can receive GI lighting via lightprobes but they will not contribute to the GI.

    For completely procedural worlds, where no base geometry is static, you can still use the universal shader. And all it’s advanced shading. Our plan is also to support reflection probe baking at runtime in either 5.0 or 5.x. (TBD). So you can rely on reflectivity, skybox SH extraction and directional lights to get very nice lighting for completely procedural scenes.

  11. Is there any way to do the pre-compute step at runtime, like during a loading screen? I understand a fully dynamic and changable world like Minecraft can’t be done, but what about a level that is procedurally constructed during a loading screen and then remains static while the player is actually playing?

  12. or are dynamic structures /trees something that could be tackled in the same way lighting the player might be using light probes? You mention they’re relatively cheap, in a large outdoor setting could/should these be generated/placed in a grid format at design time or is that the wrong way to go about things?

  13. @JESPER MORTENSEN This looks great! But wondering how we should be preparing for our game with some procedural elements.

    We’re doing static landscapes, but will have player created buildings (with placement location not pre-determined), and dynamic trees (you can cut them down) will we be able to utilize anything from this in combination with current lighting solutions?

    If not, I assume we’ll be able to fall back to current lighting solutions completely in Unity 5 if need be? (Currently using Sunshine)

    In this case are we able to take advantage of the new built-in PBL/Standard shader stuff, or is that completely tied into Enlighten GI? Thanks :)

  14. @jesper that’s a real shame as my project kinda depends on it. I assumed it would be a feature in 5.

    1. මමත් PC house එකෙන් ඹය කට්ට කැවා PC house එකෙ customer care seicrve එක අන්තිමයි ..මම දැන් වැස්සට වත් PC house යන්නෙ නෑ .මම දැන් යන්නෙ Unity එකෙ 1st floor තියන Ink TECH එකට.එකෙ customer care seicrve එක හොදයි. ඉක්මනට replacement එක කරලා දෙනවා .නැත්තම් Unity එකෙ 1st floor තියන Tulip එකත් ෙහාදයි

  15. Daniel Pots

    9月 20, 2014 3:04 am

    Hey Jesper, where can I find this “X3 shader following sun” shader? is it already build in into beta5? I could not find anything related. I want to turn up the exposure for the pbr reflections to values bigger than 1.0 without actually changing the brightness of the skybox (it*s a dark space enviroment) but I could not find anything like this.

  16. Shkarface Nooriori

    9月 19, 2014 7:57 pm

    Will there be another demo project with Unity 5 like Bootcamp or AngryBots?

  17. Markus Schmidt

    9月 19, 2014 5:23 pm

    Looks amazing!!!

    Will the showed “Transporter Demo” be published then?

  18. Jesper Mortensen

    9月 19, 2014 8:41 am

    @richard fine, yes that would be an interesting experiment. We have focused a lot on making things look shiny from the get-go, without having to fiddle with lots of settings and writing shaders. My own programmer art has definitely seen a significant boost in prettiness;-)

  19. Jesper Mortensen

    9月 19, 2014 8:34 am

    @tiago, the dynamic transparency feature will not affect the performance significantly, it requires more dynamic lightprobes to be present in the scene, but they are relatively cheap to update.

  20. Jesper Mortensen

    9月 19, 2014 8:32 am

    @dubh, this is currently only available for baked lights, for the dynamic case you would have to fake it I’m afraid. The dynamic transparency mentioned in the blog is mainly for dynamic removal of objects for supporting destruction and will not work well for translucency.

  21. Will unity 5 support transmissive materials?
    Coloured shadows – light passing through stained glass and casting colour onto receiving surfaces?

  22. @MURGILOD: The uniforms used in the shader are the same. The Standard shader does part of the evaluation per pixel and part per vertex though. Coefficients coming from real-time GI are mixed with the baked ones on the CPU.
    When it comes to functionality — you gain real-time GI, obviously. :)

  23. GReeat! thanks, when will we finally get unity 5 ???

  24. James Griggs

    9月 18, 2014 10:16 pm

    @HeliosDoubleSix OMG THOSE ARE AMAZING! Your tests do not look like realtime! Unity 5 is going to be pretty awesome. I can only imagine how this will impact VR.

  25. Amazing!

  26. Unity – LOVE the way you’re focused on bringing high end to mobile!

  27. @Richard think of it this way, ‘real time lighting’. It’s always a good thing. I’m sure you could create scenes that are very similar in look on unity 4.0, but they’d take longer and would be less interactive. Yes the artists have done a good job with the models and lights in these two scenes, but the real benefit is the ability to have this level of detail in real time. You’ll have to discover your own way to take advantage of this tool artistically. Trust me, getting mood and atmosphere will be a LOT easier now.

  28. Richard Fine

    9月 18, 2014 7:19 pm

    @JESPER: While I agree a direct side-by-side comparison isn’t going to make sense – it’s not like you just turn up the texture rez or something – it would be interesting to see a trained artist create a ‘best possible’ scene using out-of-the-box features in Unity 4, and then to take the same amount of time to create a similar ‘best possible’ scene using out-of-the-box features in Unity 5. Would help demonstrate that all the lovely demo shots for U5 aren’t just that you hired better artists this time around ;)

  29. matthew radford

    9月 18, 2014 6:43 pm

    looks amaaaaazing!

  30. Great article :)
    Great to see you will be supporting the “removal” of objects from the static GI in 5.x
    In regard to this, how performance heavy will the “Enlighten transparent” objects be in comparison with normal static meshes?

  31. Will the light probes generated by enlighten be the same (both functionally and in terms of accessing in shaders) the same as they are in Unity Pro?

  32. Joachim Ante

    9月 18, 2014 5:04 pm

    “Would it be possible to pre-compute at run-time on a custom level mesh? I wouldn’t mind early noise or having the user wait for a procedural scene to bake if it meant I could get good GI.”

    That is unfortunately not realistic right now. It may be something for us to look into in the future.
    For Unity 5.0 or 5.x, we are however looking at making the reflection probe baking available at runtime. So while you don’t have full GI you still get a big boost in graphics fidelity from having awesome looking reflections for fully procedural levels.

  33. Joachim Ante

    9月 18, 2014 5:02 pm

    “Unity 4.x style static lightmap baking at one side, the Enlighten hybrid solution in the middle, and a fully dynamic/run-time GI (possibly using Power VR tech) at the other end. Hopeflly, with the ability to blend between these options.”

    Enlighten also performs full lightmap baking. Any light can be marked as fully baked or not. Depending on that setting unity will generate full high resolution compressed lightmaps or not.
    Any light can be marked fully baked or realtime gi, also the sky light can be marked fully baked or is fully dynamic. All of this is integrated into the iterative bake pipeline. So unity will automatically detect anything that requires baking and do it in the background. This also gives you very nice previews, because as soon as you change a light that is marked as baked, then it will switch back to dynamic GI until all baking has completed, at which point it will automatically switch back to fully baked lighting. All this happens in the background without interrupting your workflow. So it is really nice for trying out things and getting very fast iteration time on your lighting, irregardless of if it is fully baked or realtime GI.

  34. Mike Talbott

    9月 18, 2014 4:57 pm

    Can’t wait to try Enlighten. As I see it, there should be a spectrum of GI options:
    Unity 4.x style static lightmap baking at one side, the Enlighten hybrid solution in the middle, and a fully dynamic/run-time GI (possibly using Power VR tech) at the other end. Hopeflly, with the ability to blend between these options. I just hope Unity pursues the fully dynamic high-end side of things. I personally would like to load user generated levels at run-time and I am disappointed that there currently is not a good GI solution for this.

    Would it be possible to pre-compute at run-time on a custom level mesh? I wouldn’t mind early noise or having the user wait for a procedural scene to bake if it meant I could get good GI.

  35. Alan Stagner

    9月 18, 2014 4:21 pm

    @ARAS Do said shadow improvements include 3×3 tap PCF filtering? Hopefully they do, because the shadows will instantly look 100x better if so ;)

  36. Awesome !!
    It’s like 3ds max global Illumination

  37. Jashan Chittesh

    9月 18, 2014 3:26 pm

    I believe this is really a huge milestone for Unity regarding the look of the output. Quite awesome! And this was also a really interesting read – can’t wait to play with this … a lot! :-)

  38. Jesper Mortensen

    9月 18, 2014 3:23 pm

    @AUGMENTED USER, linear lighting for mobile is in the plans, but we’re not sure if it will make it to 5.0.

  39. Quantum Theory

    9月 18, 2014 3:12 pm

    Hope those Skybox shaders will be included someday. I can’t find them in the beta ;)

  40. Jesper Mortensen

    9月 18, 2014 3:08 pm

    @A*, it will be hard to compare directly as Unity 5 has a lot of features that Unity 4 doesn’t have; PBS, real-time GI, reflection probes etc. A comparison of the lowest common denominator wouldn’t make sense either.

  41. Jesper Mortensen

    9月 18, 2014 3:04 pm

    @RAJ DHILLON, you still need to author the lightprobe positions. The reflection probe gives you good specular and glossy reflections.

  42. Jesper Mortensen

    9月 18, 2014 3:02 pm

    @HELIOSDOUBLESIX, beta5 will have some more parameters for you to play with allowing a higher quality precompute and smaller clusters.

  43. Aras Pranckevičius

    9月 18, 2014 2:54 pm

    @Shkarface, I’d rather first we finish said shadow improvements, and blog about them once we have them :)

  44. Shkarface Noori

    9月 18, 2014 2:51 pm

    @Aras: Thanks for the reply, so a blog is coming about shadows in 5.0 too I suppose?

  45. Raj Dhillon

    9月 18, 2014 2:27 pm

    If we’re doing a game with the static lightmapping option, is there still a step where we need to set light probes and bake those into the scene or is that handled automatically in the bake process? Also, what exactly is the reflection probe doing in the example?

  46. Aras Pranckevičius

    9月 18, 2014 2:27 pm

    @Shkarface: we do have some shadows improvements in 5.0 (some already in, some more coming – stay tuned). But probably “more major” upgrade of both shadows & image effects will come later in 5.x.

  47. Wow! It’s really awesome – the proper light can change the whole graphics and the ability to add realtime lightmaps and lightprobes is a tool all designers were long waiting for. It’s great that Unity is ahead of industry, as always!

    1. I drop a leave a response whevneer I appreciate a post on a site or if I have something to valuable to contribute to the conversation. Usually it’s a result of the passion communicated in the post I read. And on this article About | Air Plane Games Review. I was excited enough to post a thought I actually do have 2 questions for you if it’s allright. Is it just me or does it look as if like a few of these comments appear as if they are coming from brain dead folks? And, if you are writing at other social sites, I would like to keep up with everything new you have to post. Could you make a list every one of all your community sites like your Facebook page, twitter feed, or linkedin profile?

  48. HeliosDoubleSix

    9月 18, 2014 1:35 pm

    I have been playing with the new GI while in beta and with some features not finished yet. For those who are curious as to where it is currently:

    It is quite fabulous in many regards, I’m just hoping they will fix some of the limits on it preventing really high detail light maps which are hobbling my efforts. There is much left to do, but the promise of what it can offer is outstanding

  49. augmented user

    9月 18, 2014 1:33 pm

    Global Illumination on high end mobile devices. Great news! Speaking of “graphical fidelity”, what about HDR and Linear Workflow on high end mobile devices?

    1. HI Victoria,I may be spouting an uluoppnar opinion here, but I’m beginning to wonder how much good these promo items do. I recently attended Lori Foster’s event and came home with a bag full of “stuff” that I barely had time to scan. I haven’t looked at it since. How much did all those authors spend of their own money just to have the stuff dumped and the bag reused? Or possibly have all of it stuck in a closet somewhere?I sometimes bring my promo stuff to a friend’s used book store and let her doll it out a bit at a time. I think it makes a bigger impact that way. But I may be the exception. Most authors will promote only their own stuff since the competition is so fierce.I don’t know what the answer is. Maybe I’ll blog about that and see what kind of feedback I get.Ash

  50. Hi,
    I prefer to be able to see the “Graphics Fidelity” of the new features, is to compare the real time renders of Unity 4.x vs Unity 5.x side by side in a video for the same scene. Using the maximum settings of both versions, and so on…

  51. Shkarface Noori

    9月 18, 2014 12:44 pm

    This is awesome, thanks for the info. what about Shadows and Post-Processing Effects as making graphically amazing games would require these effects besides PBR and GI, any updates and/or plans to ImageEffects or Shadows?