Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

[UPDATED] Warp Effect

Discussion in 'Assets and Asset Store' started by dirkjacobasch, Apr 25, 2018.

  1. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30


    The Warp Effect uses a multi pass shader which renders the effect on a streched high resolution sphere. You drag the prefab into your scene and place your space ship in the center of the effect. Please read the manual for more details on how to setup the effect correctly.

    Testet with Unity 2017 and Unity 2018




    Features
    • Custom editor to changes everthing in one place.
    • The color and transparency of the Warp Effect can be changed.
    • The speed of the distortion can be changed in x and y direction.
    • The speed of the stars can be changed.
    • The brightness for each star layer can be changed.
    • The start and end position of the stars can be changed.
    • The rotation speed of each star layer can be changed.
    • The strength of the texture distortion can be changed. The higher the value the more waves will impact the warp textures.
    • The tiling size of the distortion effect can be changed.
    • The warp speed can be changed.
    • Two emission maps and HDR emission color to light up the warp effect.
    • Background distortion. The effect is only visible inside the warp sphere or if you look through the warp sphere. No fullscreen image effect.
    • A Prefab with stars rendered directly into the warp sphere.

    Additionals:
    • Distortion image effect shader for warp drop out.
    • Warp audios


    Restriction

    Not testet on mobile devices.


    In the Asset Store

    Website

    Documentation









     
    Last edited: Sep 28, 2018
  2. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Update 1.1.1 Released.

    Changes:
    - Small bugfix for Unity 2018.1.
     
  3. Rajmahal

    Rajmahal

    Joined:
    Apr 20, 2011
    Posts:
    2,042
    Looks great. Purchased.
     
  4. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Thanks a lot. If you have any question let me know.
     
  5. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    The next update is in the final testing. This update comes with a new background distortion effect which you know from EVE Online if you play the game. I have added a screenshot from the final testing below. You can change the strength and frequency of the effect and you can select between different distortion normal maps. The effect is only visible inside the warp sphere or if you look through the warp sphere.

    This update include also a small bugfix which prevented the noise textures from being saved in the WarpPrefabParticleStars prefab.


    DistortionTest.jpg
     
    Last edited: Jun 12, 2018
  6. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Version 1.2.0 is live in the Asset Store.

    v1.2.0 Changes:
    • Update 1.2.0 comes with a new background distortion effect. You can change the strength and frequency of the distortion and you can select between different distortion normal maps included in the package. The effect is only visible inside of the warp sphere or if you look through the warp sphere. It is not a fullscreen image effect. The effect is only available in the WarpPrefabShaderStars prefab, because the effect would influence the particle stars in the WarpPrefabParticleStars prefab.
    • The WarpPrefabParticleStars has a new cloud texture which rotate around the warp sphere to give it a more intersting look. Both prefabs now uses Shader Model 4 / DirectX 10.
    • Audio files has been moved from the demo scenes to the main asset folder.
    • This update include also a small bugfix which prevented the noise textures from being saved in the WarpPrefabParticleStars prefab.
     
  7. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Update 1.3.0 is in the final testing.

    The new update 1.3.0 comes with new properties for the WarpPrefabShaderStars prefab. With this update you can change the brightness for each star layer independet and you can set a start- and endpoint for each star layer. I have added tooltips to the editor where needed. This update has a bugfix that prevent Tile Y from beeing saved correctly in the editor. I also added an example of how to start star layers rendered with a delay.
     
    DrOcto likes this.
  8. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Update 1.3.0 is live in the Asset Store

    Changes:
    • Added new properties for the WarpPrefabShaderStars prefab to change the brightness of each star layer independently.
    • Added new properties to set the start- and endpoint for each star layer.
    • Added tooltips to the editor where needed.
    • Bugfix that prevent Tile Y from beeing saved correctly in the editor.
    • Added an example of how to start star layers rendered with a delay. You can find the example in the WarpOnOff demo script.
    Check it out

    Thanks
    Dirk
     
  9. Ateam_Studios

    Ateam_Studios

    Joined:
    Nov 23, 2013
    Posts:
    36
    Hello,

    This look awesome, I am definitely in love of this one ...

    I have two little questions :

    1.Does it works fine on mobile device ?

    2.Could you try to add (optionnal) some psychedelics effects like the very old sci-fi game called "captain Blood" ? So vintage sci-fi ....
    Take a look to 11mn26s on this video


    Thank you for your work !
     
  10. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hello,

    I am very pleased that you like it. I have not tested it on mobile yet, but I will test the effect on mobile soon. On my last test on my PC I had arround 400 FPS, so I think the performance is good enough for mobile.

    Psychedelic warp is a good idea. I'll try to do something like that. :)

    Best regards
    Dirk
     
    Ateam_Studios likes this.
  11. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hello,

    I just made a little performance test with version 1.3.0

    System:
    Intel i7 4770K
    GTX Titan 6GB
    24 GB RAM

    Result: 505 FPS. I don't want to go higher. :)

    WarpPerformanceTest_02.jpg
     
    Ateam_Studios likes this.
  12. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hello Ateam_Studios,

    I've just tested the Warp Effect on my iPhone 8 and it runs smooth at solid 60 FPS. I could not get higher because 60 FPS is max. on iOS.

    Unfortunately, I have no newer android device to test it on Android. :(
    I've only some old devices, but I think on a modern Android it works like it does on iOS.

    I hope that answers your question. :)

    Best regards,
    Dirk

    IMG_0212.PNG
     
    Ateam_Studios likes this.
  13. Ateam_Studios

    Ateam_Studios

    Joined:
    Nov 23, 2013
    Posts:
    36
    Hello Dirk,

    Thank you to take the time for the test ...
    Infact I've already buy your package :), because you do a very good job and watching the warp effect again and again is just hypnotic.

    So, I'm in!
    I hope that you will continue to add some cool warp effects, I think that could interest other developpers who work on space projects.

    Best regards,
    Seb
     
  14. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hello Seb,

    I definitely continue working on it. I have a lot of ideas how to improve and / or expand it. :)

    Best regards
    Dirk
     
    Ateam_Studios likes this.
  15. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hello everyone,

    long time no news. :)

    I have just uploaded a new video for the current development of my Warp Effect assets.

    The new version has a moving emission map and a HDR emission color which make it possible to remove the front and back light from the effect and give you a better possibility to mix colors.. In the next steps I add the new emission map and emission color to the editor and update some of the warp textures.



    Best regards
     
    DrOcto, Ateam_Studios and Rajmahal like this.
  16. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hello everyone,

    the new update 1.4.0 of the Warp Effect is live in the Asset Store.


    Changes:

    IMPORTANT: Before importing version 1.4.0 into your project, backup your project and delete your old version of the Warp Effect from your project.

    • Added two emission maps and a HDR emission color to light up the warp effect.
    • Front and back lights no longer needed.
    • Added property to change the rotation speed of each star layer.
    • Added new warp textures.
    • Added new star texture.
    • Added emission maps.
    • Removed the old warp effect with particle stars.
    If you have any questions feel free to contact me.

    Asset Store

    Best regards,
    Dirk

    SpaceRacing_63673415628081_1920X1200.png
     
    Ateam_Studios likes this.
  17. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    Is there a way I can trigger start and stop warp from playmaker? I'm trying to use this in VR and there is no keyboard so I'd like to map it to controller buttons
     
  18. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    also, when I try this on an oculus go, it renders great on one eye, but the other eye still shows the Made with unity logo, am I doing something wrong?
     
  19. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    Yep looks like it can only render in one one, is it something in the shader scrip then, perhaps it ant designed for that? Can it be made for it? it works pretty great in the one eye
     
  20. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hi beowulfkaine,

    I never used playmaker, but what I found in the playmaker manual is that you can send an event by name, so you could send an event to a script attached to the warp effect to activate or deactivate it.

    To your 2nd question. Yes, the warp effect has currently no VR support, but let me look into it to find a solution.
     
  21. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    Ok ill try that, do you know hat method I should send to start or stop the effect? also from what I can tell it works pretty perfect on Oculus go in the single eye, exactly what I need so if you need any testing done please let me know!
     
  22. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Hi, can you describe how you want to activate / deactivate the effect? It is hard for me to tell you how you could do it without that information. What I do in my game is, that I start the effect after a inital start animation sequence and I stop the effect if the ship reached the new target position.
     
  23. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    That actually sounds exactly like how I’d like it to work! It seems like the effect almost instantly turns on when using the demo as opposed to easing into the effect. Can it have the same effect as when it stops? The space seems to warp and then the lines and then after it reaches the destination it slows and then fades to what you have now. It’s almost perfect as it is and has so much potential! I can wait to use it!
     
  24. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    hey I just disabled the LeaveWarpEffect script and everything works perfect in both eyes! however I can't start or stop it other than disabling it
     
  25. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Really? That is strange. :)
    Yes, you could enable it and change the warp speed so you have a smoother warp in or change the alpha value. And at the end you do it in the opposite direction. There are a lot of possibilities.
     
  26. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149


    Looks great. I wish there could be start and stop transitions instead of being so abrupt
     
  27. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    I think I will write a script for that transition. ;)
    Are you using version 1.4.0?
     
  28. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    yea I bought it a couple days ago so whatever is on the store
     
  29. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    ok so I just did an experiment, I disabled that script and tried to enable it after a few seconds and then invoke the Void Start Effect method. Enabling the script is what throws the eyes out for sure. Honestly, if thats the issue, maybe just changing the shape of the particles to seem like its beginning to stretch space and vice versa when it stops would even work.
     
  30. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    Honestly, just playing with it now, can actually just use playmaker to adjust the particles from super slow to face to recreate the effect, thanks would totally work!
     
  31. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    In your video it looks like you use version 1.3.x because the stars looks like particle effect. In the new version 1.4.0 everything works without particle effect stars. But before you update you should test the new version.
     
  32. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    Oh yea your right, I was using the DemoWarpParticleStars scene, let me try it real quick with the other one
     
  33. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    ok it looks like there is o way to initiate the star warp in the shader version without the offending script. With the articles I can just turn them on and off, the shader is based on the main script
     
  34. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Exactly.
    Here is an example how I do the transition into warp. Before I activate the warp I slowly zoom in by changing the field of view and at the same time I blur out the whole screen with depth of field. And when the warp is activate I zoom out fast and deactivate depth of field. But I don't know if this is possible with VR because of the limitations. This gives the player the impression he is drawn into the warp

     
  35. beowulfkaine

    beowulfkaine

    Joined:
    Apr 3, 2014
    Posts:
    149
    Yep I think I can mimic this if I just do it manually, one thing I’m concerned about is the star field being seen from within the space cockpit. I’m not sure how I can prevent the particles from enter the cabin. I may be able to make a sphere collider and have the particles destroyed on impact but I’m not sure if it would destroy the entire particle effect or just the individual particles on collision. I’ll have to test this out tonight.

    One thing I’m toying with is different kinds of warp effect. The blue waves I wonder can be replaced maybe with another design type?
     
  36. dirkjacobasch

    dirkjacobasch

    Joined:
    Apr 24, 2018
    Posts:
    30
    Yes, you can use a collider for the particles. That destroys only a single particle. And yes, you can use different textures for the blue waves. Just make your own and change the textures in the editor. If you select the warp effect game object you have an editor in the inspector where you can change everything, color, textures, warp speed and all this stuff.