Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 5 Bloom effect not working somehow (Solved)

Discussion in 'General Graphics' started by PJRM, Mar 6, 2015.

  1. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    303
    As announced that all features are available. The first thing I try to do is create bloom effect. And I believe that the same way shader works for U4, emission with values higher than 1 should gimme the bloom effect.

    Why in the Unity5 I can't get this result !?
    I have to set camera to work with!?
     
  2. KingMatthew

    KingMatthew

    Joined:
    Jul 7, 2013
    Posts:
    166
    All you have to do is put the bloom script on the camera. You can change the setting in the script.
     
  3. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    303
    What do you mean?
    I'm using standard shader (And Shader-Forge) to change the emission value higher than 1.:(

    ---Edit--- Oh wel... I added the script on the camera from standard assets, but still no changes. I'm changing the values here, but nothing happen to the preview and the play mode.
     
    Last edited: Mar 6, 2015
  4. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    303
    Thank you... after few interactions... (putting freak values) I start to see the difference.
     
  5. Dreamcube017

    Dreamcube017

    Joined:
    Dec 20, 2009
    Posts:
    253
    Hm do you mean a glow effect specific to the shader? KingMatthew was talking about a screen effect on the camera (adding a component), but if you got it to work in just one object based on shader settings, could you post what the settings look like? I'd like to see them. Thanks.
     
  6. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    303
    Hello Dreamcube.
    I must say that i'm trying but unsuccessful. the glow effect that I want to archieve, is harder than I imagine it woould be by applying bloom.

    I have Unreal 4 installed, and it is so easy. I thought it would be the same! just increasy emission on shader (color multiplied by a constant value greater than 1) and then I'd get the glow effect (bloom).

    I don't know. maybe it is some kind of configuration I must apply on the camera.
     
  7. Carpe-Denius

    Carpe-Denius

    Joined:
    May 17, 2013
    Posts:
    842
    HDR should probably be turned on if you want to have brighter things than 1. If not, your bloom shoud start lower than 1.
     
    PJRM likes this.
  8. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    303
    I love you!:D:D:D
     
  9. Carpe-Denius

    Carpe-Denius

    Joined:
    May 17, 2013
    Posts:
    842
    Thanks. I don't need a ring, your love is enough for me. ;)
     
  10. OCASM

    OCASM

    Joined:
    Jan 12, 2011
    Posts:
    326
    Don't forget to use the Tonemapping script for more realistic results.
     
  11. PJRM

    PJRM

    Joined:
    Mar 4, 2013
    Posts:
    303
    Nice, never see that though! This will plus the results i want to!
    Thank you.
     
    OCASM likes this.
  12. IncomeCountry

    IncomeCountry

    Joined:
    Aug 4, 2010
    Posts:
    5
    For whoever didn't make it work :
    - You MUST set Tonemapping later than the Bloom effect (and every effect which requires the HDR range) !

    If you carefully read the Tonemapping component description, it says 'Mapping HDR to LDR...'.
    That means every effects you appliied below that appied to LDR range...

    However, your Bloom effect must be applied to HDR range,
    or it will be suppressed without warning. (the emission is normal, but no Bloom, no errors...)