Menu
Login
Language
DE EN FR ES IT CZ
Back

Fisheye effect

  • #10, by ke4 Friday, 19. June 2015, 14:32 11 years ago Quote
    Yeah.. great grin

    This is really strange, is there a reason why the exact same image has different colors? One is from the scene, the second is in the interface.
    It doesn't make sense to me.

    Key Killer

    810 Posts

  • #11, by afrlme Friday, 19. June 2015, 14:36 11 years ago Quote
    Strange. Did you set an opacity value or use different settings for the image in your image editor? It should be whatever color it is supposed to be.

    Imperator

    7290 Posts

  • #12, by ke4 Friday, 19. June 2015, 14:41 11 years ago Quote
    The picture has some lower opacity for the box, but it's the same rendered picture i didn't do anything with that in visionaire.

    Key Killer

    810 Posts

  • #13, by ke4 Friday, 19. June 2015, 15:38 11 years ago Quote
    ..I've rendered the animation with less opacity value and it looks ok now.

    Key Killer

    810 Posts

  • #14, by sebastian Saturday, 12. November 2016, 17:39 9 years ago Quote
    could someone make it more clear on where to add what script to get this shader to work?
    Im totally confused where to put which script and how to start and end a shadereffect...

    Thread Captain

    2346 Posts

  • #15, by afrlme Saturday, 12. November 2016, 18:08 9 years ago Quote
    1. you need the shader tookit script added to your script section as definition.

    2. copy/paste the script on the first page into an execute a script action when you want to activate it I guess.

    P.S: I think the other little code block Simon provided is so you can adjust the strenght or turn it off, etc.

    Imperator

    7290 Posts

  • #16, by ke4 Saturday, 12. November 2016, 20:31 9 years ago Quote
    I've put the the Simon's script as definiton script.

    Then at the beginning of the scene where i want this effect i'm executing a script.

    shaderAddEffect("fisheye")
    shaderEffectParam("fisheye", "amount", .75)

    The second thing is for adjusting the strenght of the effect. And on leaving the scene.

    shaderRemoveEffect("fisheye")


    Key Killer

    810 Posts

  • #17, by sebastian Sunday, 13. November 2016, 21:33 9 years ago Quote
    thanks guys. 
    Beside the fisheye I saw a water reflection shader here in the forum which I could also successfully add. But it gets Used on the whole screen. What needs to be done to apply a shader only to one object? 

    Thread Captain

    2346 Posts

  • #18, by ke4 Monday, 14. November 2016, 09:56 9 years ago Quote
    I don't really understand how it works with objects.
    If you want to use shader effect to some object, you can use this.

    setObjectEffect("ripple3")
    
    Objects.OBJ_NAME.ShaderSet = 1

    But i think you can use it only to one object at a time.

    Check out this thread, Unreal made a pretty demo on using shaders to objects.

    http://www.visionaire-studio.net/forum/thread/visionaire-sha...

    Key Killer

    810 Posts