1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Flowmap Generator for Unity

  • Synthesizer
  • August 2, 2013 at 10:02 AM
  • Synthesizer
    • August 2, 2013 at 10:02 AM
    • #1

    I've made a tool for Unity that generates flowmaps using a fluid simulation. You can control the simulation using fields like vortex, directional, calm, etc. It's also possible to have the flowmap update dynamically within Unity, so you can move fields around, turn them on and off, change the level geometry, etc. It's also possible to export the flowmap so you can use it in other engines. I've submitted it to Unity's Asset store, hopefully it gets added soon.

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.
    Here's some more info, with a webplayer demo of a scene using a flowmap generated with this tool. http://www.superpositiongames.com/products/flowmap-generator/

  • Vilham
    • August 2, 2013 at 11:12 AM
    • #2

    Thats pretty cool. How expensive is it?

  • iwxanthi
    • August 2, 2013 at 11:18 AM
    • #3

    Awesome man! Probably can use that for our next project

  • Synthesizer
    • August 2, 2013 at 12:12 PM
    • #4

    I set the suggested price at $60. I'm also planning on making a stand alone application, so people who don't use Unity can use this.

  • Vilham
    • August 2, 2013 at 1:31 PM
    • #5

    Sorry I meant computational expense.

  • kikette
    • August 2, 2013 at 1:46 PM
    • #6

    Hmmm.. I saw this one wich is free.

    Why should I buy your's ?

    http://www.polycount.com/forum/showthread.php?t=105399

    Btw, you did a great job. I just want to point out the fact that an other tool exist.

  • Synthesizer
    • August 2, 2013 at 1:52 PM
    • #7

    If you use the baked texture the performance all depends on how expensive you want to make your shader. Compared to the usual way of making a water shader by adding two panning normal maps together it's two extra texture fetches (the flowmap and a noise map for offsetting the phase) and a few extra math instructions. There are flowmap shaders for Unity for iphone, so it's certainly possible to get this working on mobile platforms.

    If you want to continuously simulate the flowmap so it updates dynamically it costs a bit more. On my computer (i7 2600k, nvidia 580gtx) it adds about 1-2ms per frame when simulating a 512x512 flowmap, using GPU acceleration. This only works in Unity and is only viable when using GPU acceleration, it takes about 16ms when using 8 threads on the CPU.

  • Synthesizer
    • August 2, 2013 at 1:56 PM
    • #8
    Quote from kikette

    Hmmm.. I saw this one wich is free.

    Why should I buy your's ?

    http://www.polycount.com/forum/showthread.php?t=105399

    Btw, you did a great job. I just want to point out the fact that an other tool exist.

    They're very different tools. That one focuses on painting by hand, mine uses a fluid simulation to generate the flowmap. Painting by hand is nice when you're not changing the scene all the time and only have to paint once, but my tool lets you re-simulate when needed. If the area that your flowmap covers is quite large with complicated geometry it's quite often a lot faster and easier to simulate, using fields to push the fluid around.

  • The Horse Strangler
    • August 3, 2013 at 7:10 AM
    • #9

    This is totally radical, I've been looking for something like this lately.

  • PyroGXPilot
    • August 3, 2013 at 8:25 AM
    • #10

    http://www.valvesoftware.com/publications/2…s_waterflow.pdf

  • The Horse Strangler
    • August 4, 2013 at 3:30 AM
    • #11

    That's just a shader.

  • Synthesizer
    • August 4, 2013 at 9:15 AM
    • #12

    It did give me some ideas of what sort of features might be needed in a full simulation though. They also use a hand painted method, using Houdini.

    From the "Future work" slide I've added this, "Render dynamic flow vectors per-frame so animated objects cause flow changes".

    I've also tried this one, "Flow height maps and use tessellation hardware" which works pretty good. I did need to add an extra scrolling heightmap as areas where the flowmap wasn't moving very fast looked a bit odd with waves that just stand there. I'll have to make a video or demo of that.

  • Synthesizer
    • August 6, 2013 at 7:24 AM
    • #13

    It's up on Unity's asset store now. Here's a post on their forum with a link to the asset store.

    http://forum.unity3d.com/threads/194577…lation-RELEASED

  • Kinky
    • August 6, 2013 at 11:37 AM
    • #14

    This is awesome. And possibly something that might come in handy on a project in the immediate future. Thanks, great work.

  • Hipshot
    • August 6, 2013 at 11:42 AM
    • #15

    I don't know what it is, or what it's good for, but it sure looks awesome Simon =)

  • Synthesizer
    • August 14, 2013 at 8:43 PM
    • #16

    I've been working on a stand alone version. Most of the work has been making a scene editor to handle all the stuff that I relied on Unity to handle like moving objects, undoing, importing meshes, etc. All the features that normally require Unity Pro such as GPU acceleration and rendering heightmaps from the scene will work in this version. It's mostly just a few small fixes and then doing a UI pass that's left. Since I'm using Unity to build the stand alone I've got builds working for Windows, OSX, and even a webplayer version (which might be useful for a demo).


    [Blocked Image: http://www.superpositiongames.com/wp-content/uploads/2013/08/FlowGeneratorStandalone_01.jpg]

  • Pampers
    • August 14, 2013 at 8:48 PM
    • #17

    cool!

  • e-freak
    • August 15, 2013 at 3:14 PM
    • #18

    mh i'm not sure about the sprites for the modifiers. I tend to find it hard with sprites to judge where they are in the world and would prefer simple 3d models..


    that said that stand alone looks awesome! great job

  • Synthesizer
    • August 15, 2013 at 3:22 PM
    • #19

    Thanks When you select the modifiers they draw a wireframe bounding box showing the range of their influence. The falloff texture is then stretched to fill that bounding box, so it should be pretty easy to get a feel for exactly where they will have an effect. The sprites are just there so you can select modifiers by clicking on the sprite.

  • Synthesizer
    • September 15, 2013 at 2:33 PM
    • #20

    I've now released the first version of the standalone program. You can now create flowmaps for any game engine and use features that the Unity plugin version requires Unity Pro for, such as GPU acceleration and interacting with scene geometry. There's a 30 day trial, just download the program and you can start the trial. The output is limited to 256x256px, but all other features are enabled. Purchasing a license removes that limitation and gives you access to all future updates. I've mostly been testing the newer features on my Macbook, so let me know if anything looks odd in Windows. Download now [Blocked Image: http://www.superpositiongames.com/wp-content/uploads/2013/09/Standalone_v1.jpg]

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  2. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  3. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  4. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  5. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  6. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  7. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  8. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  9. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  10. [CS2] Dvina

    Pulbusha
    May 29, 2026 at 5:54 PM

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™