Home Unreal Engine

How Do You Make a Flow Map?

134
polycounter lvl 10
Offline / Send Message
SirCalalot polycounter lvl 10
This has been puzzling me for a while now.
A "2D Vector Field" or "Flow Map" is a user-created texture that determines the direction of which a material moves - most commonly used with water shaders to give the impression of the liquid flowing round objects such as in this video:

[ame="http://www.youtube.com/watch?v=2X1vFVGAlwk"]UDK - Water with Flow Map - YouTube[/ame]

Now, I have found a few smatterings of information on the 'net, mainly on this very forum and the Graphics Runner Blogspot, but none of them go into the theory of how the texture information is read or, more importantly, how to create it yourself.

I know that a Flow Map has more than a passing resemblance to the 'TextureCoordinate' and 'Panner' expressions in the Material Editor, so presumably the engine uses this texture in exactly the same way.

In Summary:
- How do you create a "2D Vector Field" or "Flow Map"?
- How do you use this in UDK's Material Editor?

Thanks for your time :)

Replies

  • Ignoto
    Offline / Send Message
    Ignoto polycounter lvl 7
    Hi,
    I´m already using them in my proyect, Understanding them is the most important.
    You must know that a flow map is in fact a Motion vector field.
    Your flow maps must tell the txture panners in what direction the texture should move.

    So The best way to make the flow maps is painting them in PS, you could use also Houdini, but painted Flows are grat also!
    [FONT=&quot]
    Alex Vlachos
    [/FONT] has papers on this features, he has used them in Portal2 and Left 4 death 2.

    The shader, .. read first Kyle hayward blog becouse everithing you need is there (http://graphicsrunner.blogspot.com/2010/08/water-using-flow-maps.html).

    By the way, .. How can I upload a picture just to show you my flowmaps working in my level.??
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    Thanks for your help.

    You can upload a picture to http://imageshack.us/ and copy the forum link here :)

    That page still doesn't entirely mention how to create flow maps for use with UDK though. Or am I just being really dense and am going to have to use Unreal script?
  • sprunghunt
    Offline / Send Message
    sprunghunt polycounter
    UVs are essentially colour information. A flow map replaces the UVs - distorting the image.

    You paint on gradients that indicate the direction you want the map to sit.

    I have done this using vertex colour. Where the vertex colour replaced the UVs.
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    So, essentially a pixel that is 255,0,0(RGB) is a non-scalar vector in the X-axis direction and a pixel of 0,255,0(RGB) in a non-scaler vector in the Y-axis direction.
    Similarly, a pixel that is half red and half green would create a vector moving diagonally.
    Is this right?
    As well as that, how would I create a pixel that has a vector '-1' (pointing backwards)?

    Again, apologies for being quite dumb in this regard, but how would I tell UDK to use this information?
    Presumably, just plugging in this information into a Texture's UV channel would distort the image but still be static. How would I get it to actually animate, following the coordinates that I have created?

    Edit: Perhaps plugging in my custom flow map into a Panner's Coordinate node?
  • Vailias
    Offline / Send Message
    Vailias polycounter lvl 18
    Edit: no don't plug it into the coordinate node..

    Just multiply a time factor (representing how fast the flow is going) by the R and G channels of your flow map, then add that multiplied 2 vector to a texcoords node, then plug that into the uv's of your texture.

    and for what its worth I'm getting some really harsh artifacting from the texture interpolation.
    further edit: Artifacting seems to be remedied by keeping the time variable from going to high values. Either with a frac, or fmod.

    You get negative displacement the same way you do in a normal map. 0 value in a channel is -1, 255 value in a channel is +1 127 is 0. You can specify this in UDK's texture properties with UnpackMin and UnpackMax, or do it manually in the shader.
  • Ignoto
  • Ignoto
    Offline / Send Message
    Ignoto polycounter lvl 7
    Wrong uploaded Image, Sorry.
  • MeintevdS
    Offline / Send Message
    MeintevdS keyframe
    flowmapss.jpg
    (That's Ignoto's image)
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    Thank you both!
    That's really helpful.

    I'll have a go tonight at making a Flow-Map in Photoshop by having the image base colour of '127,127,0[RGB]' and painting in paths with varying degrees of Red and Green.
    ... I may draw myself a graph-based diagram to help me visualise the vectors better too :)

    Then I'll import it into UDK to have a look at using both your methods in a Material.

    Edit: That is a really sweet-looking effect in Ignoto's image :)
  • haiddasalami
    Offline / Send Message
    haiddasalami polycounter lvl 14
    Im gonna try this today so will post what I have tonight.

    @SirCalalot: I believe Valve used Houdini to get their maps rather than drawing them. Might have to go back and find the presentation.
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    Thanks, haiddasalami. I'll have a look into Houdini :)

    I just found the prsentation here. So I'll read through that now.
  • Ignoto
    Offline / Send Message
    Ignoto polycounter lvl 7
    MeintevdS - How did you fixed my image??..
    I´m good with 3D but I get lost using forums, and web features.

    SirCalalot - This PDF is what I were talking about, when I refered to "Alex Vlachos paper".
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    @Vailias and @Ignoto, Houdini is looking like a very complicated Vector Field map generation method.
    Is this the way which you created your Flow Maps?

    I'm thinking that if I wanted my water to flow round an object, I could create a black and white height map putting a peak where the object is.
    Then I might be able to convert this to a normal map using NVIDIA's Photoshop plugin and excluding the Blue values.
  • ambershee
    Offline / Send Message
    ambershee polycounter lvl 17
    I used a technique almost identical to the one described above, although I also did some fiddling with time, sine and a lerp to blend between two panners to help hide the visual looping artifacts you get.

    For the flow maps, I literally took a screenshot, adjusted it to the intended resolution of the flow map and painted over the top of them by hand. It's just vector fields, so all you really need is a smoothly gradiated radial brush and you'll get reasonable results.
  • Ignoto
    Offline / Send Message
    Ignoto polycounter lvl 7
    Noops, .. I painted mines via PS, .. It´s a lot easier.

    You can paint and try it in Maya or directly in UDK, to see you paint them correctly.
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    Cheers guys!

    That's exactly what I wanted to know :D
    Thanks for entertaining my ignorance on the matter (there is seriously bugger-all information on Flow Maps in UDK on the 'net).
  • haiddasalami
    Offline / Send Message
    haiddasalami polycounter lvl 14
    I might take some time during college break and try and figure out this in maya for a flow map generation tool. Would be an awesome tool to make.
  • onionhead_o
    Offline / Send Message
    onionhead_o polycounter lvl 16
    haiddasalami: it would be great if u could figure this out.
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    Didn't they use a custom Plugin in Houdini to achieve that effect? Although, I recall something about Uncharted also doing/trying that, without mention of Houdini.

    haiddasalami: It would be so awesome if you did that, although I figure it would be pretty hard.

    Ignoto: That's actually pretty cool! Mind if I ask what your Flow Map looks like?
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    @Ace-Angel; - I'm playing through Uncharted 3 at the moment and have seen flow maps used to wonderful effect on more than one occasion in the game. It's actually what got me thinking about them in the first place! :D
  • haiddasalami
    Offline / Send Message
    haiddasalami polycounter lvl 14
    Browen Grimes has a gdc talk going about flow maps for portal 2. Will take a look when I get some time but heres it for anyone who feels like reading it.

    http://www.valvesoftware.com/publications/2011/gdc_2011_grimes_nonstandard_textures.pdf
  • Computron
    Offline / Send Message
    Computron polycounter lvl 7
    Is there anywhere I can get the material network for UDK? If there was a prebuilt packaged one that would be great, or a guide too.


    sprunghunt wrote: »
    UVs are essentially colour information. A flow map replaces the UVs - distorting the image.

    You paint on gradients that indicate the direction you want the map to sit.

    I have done this using vertex colour. Where the vertex colour replaced the UVs.


    oooohhh, show me!
  • Norman3D
    Offline / Send Message
    Norman3D polycounter lvl 14
    Just plug in the Vector map as a texturesample in the UVcoords input of your diffuse. ;)
  • Vailias
    Offline / Send Message
    Vailias polycounter lvl 18
    yeah for mine I was just using some greyscale test textures I had lying around as one component of the flow field, and using 0 for the other. Its kinda funny, had I actually read the links before jumping in I'd have had the solution to the artifacting I was getting rather than reasoning it out.

    Part of the reason for lack of info is this is a specific topic, and its also more of a composite term for what's going on. All you're doing here is using a per pixel vector offset to texture coordinates. You're just doing it over time to create the "flow"

    The basic nature of the map in question is essentialy the same as anisotropic directional control, normal mapping, paralax mapping, etc. Its just a different application of the data/method
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    Thanks @Vailias; that does make sense.

    Browen Grimes has a gdc talk going about flow maps for portal 2. Will take a look when I get some time but heres it for anyone who feels like reading it.

    http://www.valvesoftware.com/publications/2011/gdc_2011_grimes_nonstandard_textures.pdf
    Just read through that and it's very insightful. I'd urge people to check it out :)
  • divi
    Offline / Send Message
    divi polycounter lvl 12
    wouldn't painting the map with nDo's normal painting feature give you a nice start if using very soft brushes and killing the blue channel afterwards?
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    I tried a similar thing with normal-map generators last night and while it works to a certain extent, you only get vectors flowing away from bumps.

    That said, I'm sure that some effective flow maps could be made by creating a height map, with slopes denoting what direction the water should travel. For example, a spiral starting as white and gradually going to black should, in theory make a normal map that can be used as a flow map where water follows the spiral.
  • passerby
    Offline / Send Message
    passerby polycounter lvl 12
    just a little brain storming haven't tested it yet but maybe you could just make 2 planes in maya give 1 of them a ton of subdivisions than use maya edit vertex normal tool, to change the direction the normals are pointing in, on the plane with the subdivisions.

    than bake that plane down to a basic Lowpoly one in xnormal or transfer maps, and remove the blue channel in Photoshop.

    in theory that should be a easy way to author a flow map.

    would prolly want to find a way to use soft selection with that tool, and maybe blur the end result to give better transitions. im sure someone with a better understanding of flow maps and maya vertex normal edit tool could prolly write a nice little mel script for maya for creating flow maps.
  • Computron
    Offline / Send Message
    Computron polycounter lvl 7
    sprunghunt wrote: »
    UVs are essentially colour information. A flow map replaces the UVs - distorting the image.

    You paint on gradients that indicate the direction you want the map to sit.

    I have done this using vertex colour. Where the vertex colour replaced the UVs.

    I tried pluging it in this way, but both the green channel and red channel only makes it go in one direction or not at all, how do I make it go in either?
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    The problem is, if you look up the documentation, in almost all cases, you use the RG channels in the UV's (with an RG texture) to distort stuff, but the catch is you either:

    A- Write your own formula so you determine what gradient does what (if you want to bypass the traditional limitations of colors).
    B- Use a plugin to 'comb' the mesh in the direction you want it to go in (a la Anistropic map type).

    Passerby's solutions sounds the cheapest and easiest hack out of the box, but you have to manually edit your vertices (maybe in soft selection mode), at least, that's what I believe, since I don't think Max, Maya, XSI or even Houdini has the ability to comb normals/vertices weight with a brush (Valve and ND had to create their own custom solution plugin).

    As to how to make it go in either...what exactly do you mean? As in left/right distortions? Why not use the Depth node and overlay 2 normal maps in two opposite pans?
  • ambershee
    Offline / Send Message
    ambershee polycounter lvl 17
    Computron wrote: »
    I tried pluging it in this way, but both the green channel and red channel only makes it go in one direction or not at all, how do I make it go in either?

    Red is X, green is Y. Plug only one channel in, you only get one direction.
  • passerby
    Offline / Send Message
    passerby polycounter lvl 12
    ya maya wont let you use soft selection with the "vertex normal edit tool" which makes my method a pain, but i noticed that vertex normals can be views and edited from the "Component Editor", which leads me to belive this data can be changed via mel script.

    so i think a really intuitive way to edit them for this purpose would be to make a script, that points all the vertex normals in a soft radius away from, or towards dummy objects that can be set and moved by the user. which would be how valve did vortices in Houdini.

    im not much of a coder/scripter, but i could look at the reference for mel and maybe at-least figure out the basic logic needed, and try to make a basic proto-type.
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    @passerby; That would be awesome!
    I'm a Max user myself, but I may have to make the jump to Maya if you get it going well :)
  • passerby
    Offline / Send Message
    passerby polycounter lvl 12
    SirCalalot wrote: »
    @passerby; That would be awesome!
    I'm a Max user myself, but I may have to make the jump to Maya if you get it going well :)

    it will prolly take me a good bit of time, since i got no experience with mel or python script, and just some basic php knowledge so i will be learning as i go, the concept, and logic seem simple enough, but the math, to get the right vertex's around the object, and to get the soft selection on it will be harder.

    not being a max user im not sure what maxscript is cabale of, but im absulty sure the same data would be modifiable via maxscript.

    also Houdini does have a free license for personal use, which could be a good starting point for someone to figure this out with out needed code.

    once this is figured out, it should be fairly easy to implement in UDK, since in udk it is very easy to export out your whole map or sections as OBJ, so you can build your water plane to fit the geo, and use the geo as reference on how to make the flow map, than after that it is just a matter of adding a panner to the texture coordinate, and add it by this map, and hooking it into your UV's of your textures.

    also in cases where you just need some general UV distortion, it is quite easy to do in UDK already, such as cases of the fizzer fields in portal 2.

    screens_20111202102737.jpg

    i find that works well for just general distortion in the UV's, my texture, is just clouds generated separately into all the colour channels.

    but for things like water and the effects you see in portal2 and l4d2, something like what i explained in maya, or some kinda brush in maya or PS would be needed.

    also you could steal the basic elements of the flow map from existing ones, and copy and past in things like the vortices.


    also found this http://www.valvesoftware.com/publications/2010/siggraph2010_vlachos_waterflow.pdf a bit more info on what l4d2 did
  • ambershee
    Offline / Send Message
    ambershee polycounter lvl 17
    What would be really awesome is a photoshop brush that changes colour based on both a gradient and the direction you are moving it in. Flow maps would be piss to generate with that - but I don't know if one exists or how it would be created :(
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    @ambershee; I've done some internet trawling on that very type of brush over the past few days and results vary from useless to downright irrelevant - maybe someone else would have better luck? :\

    Edit: Although I did find this.

    "Re: brush behaviour: direction-based colour possible?

    No, because you can't create tool plugins in Photoshop.
    Please read the SDK to see what plugins can and cannot do in Photoshop."


    ... Lame.
  • passerby
    Offline / Send Message
    passerby polycounter lvl 12
    thinking a method that does it right in maya or max is better anyways, since that way you can see your level geometry as you work.

    also would be interesting to generate these gradient right in udk, maybe using a sphere mask with the "World Position" node and a vector3 defining the world position of the distortion.
  • Computron
    Offline / Send Message
    Computron polycounter lvl 7
    ambershee wrote: »
    Red is X, green is Y. Plug only one channel in, you only get one direction.

    I only get positive y and positive x. it doesn't go negative.
  • haiddasalami
    Offline / Send Message
    haiddasalami polycounter lvl 14
    I was thinking over the next week, figuring out the paint tool in maya and changing the vertex normal based on the direction you are moving. This is all theory but will definitely be a good project to work on.
  • ambershee
    Offline / Send Message
    ambershee polycounter lvl 17
    Computron wrote: »
    I only get positive y and positive x. it doesn't go negative.

    That's because you've set up your material to only work that way. Doing something like subtracting 1 from a colour channel will give you a range of -0.5 to 0.5, which gives you bidirectional panning if you need it. Makes your flow maps harder to author though.
    passerby wrote: »
    thinking a method that does it right in maya or max is better anyways, since that way you can see your level geometry as you work.

    It can be. I've seen a lot of people us vector field tools for this kind of thing - but that only really works if your geometry can be imported wholesale into a 3d map easily.
    passerby wrote: »
    also would be interesting to generate these gradient right in udk, maybe using a sphere mask with the "World Position" node and a vector3 defining the world position of the distortion.

    If you want to generate it in UDK, you can just mesh paint it on directly quite effectively.
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    Unless, I'm misunderstanding something, this is what I see so far.

    How would you do it in UDK effectively that doesn't weigh a ton in terms of instruction and allows for the less then capable technical artist in getting interesting effects (say an outer rim for maelstrom kind of effects to avoid harsh cuts) in a way that's very malleable?

    Remember, the entire point of Flow Maps is being artist friendly, and having low memory footprint (a 512px Flow Map hidden in the Normal Maps blue channel), doing it on a plane that is wildly limited to vertices and instruction is all fine and dandy upto a certain point.

    Plus, vertex blends are there for a reason, several smaller scaled flow maps can be applied manually if needed in a carefree way later on alongside the mother flow map, but for best results, I do believe a flow map is in order.
  • Norman3D
    Offline / Send Message
    Norman3D polycounter lvl 14
    Ace-Angel wrote: »
    Unless, I'm misunderstanding something, this is what I see so far.

    How would you do it in UDK effectively that doesn't weigh a ton in terms of instruction and allows for the less then capable technical artist in getting interesting effects (say an outer rim for maelstrom kind of effects to avoid harsh cuts) in a way that's very malleable?

    Remember, the entire point of Flow Maps is being artist friendly, and having low memory footprint (a 512px Flow Map hidden in the Normal Maps blue channel), doing it on a plane that is wildly limited to vertices and instruction is all fine and dandy upto a certain point.

    Plus, vertex blends are there for a reason, several smaller scaled flow maps can be applied manually if needed in a carefree way later on alongside the mother flow map, but for best results, I do believe a flow map is in order.

    A "flow map" like you guys are calling it, needs 2 channels, no more no less. (It can have an empty blue channel of course).

    I don't think you guys fully understand how a "flow map" works.

    These are the unaltered texture coordinates of a TextureSample:
    5Wlle.jpg

    If you were to "shift" the pixels in this picture in any way, it would shift the pixels in the TextureSample as well. If you tile this image you will tile the TextureSample as well, and so on. One crappy and fast way of altering your "flow map" would be to use "Liquify" in Photoshop. I say crappy because the mesh that Photoshop uses in order to distort the picture is not subdivided enough (internally), and you won't be getting smooth results. In order to be able to "preview" your distortion better you can distort your texture with liquify and save the mesh, then open the above image in photoshop, load the mesh and apply the distortion.

    If you want to make it properly, then I suggest you get your hands dirty with an actual mesh in 3dsmax, subdividing, re-baking and so on.

    One of the script that is definitely in my to do list is a primitive version of what Valve did with Houdini but for 3dsmax.

    I hope this helps you out!

    EDIT:
    Pro tip: You can lerp between a regular TextureCoordinate and a "flow map"
    Also notice the artifacts in the texture when the camera get's close. This will only happen if the distortion is too big. Remember it's just a 8-bit image, not a 16-bit one. So it's just doing what it can. There are probably ways to improve the artifacts. As I said, haven't had much time to play around with this since I first tried it a year ago.

    [ame="http://www.youtube.com/watch?v=SYvOfRkPcaI"]http://www.youtube.com/watch?v=SYvOfRkPcaI[/ame]

    EDIT2:
    Couldn't wait so I tried to find a way of reducing the artifacts caused due to the low bit-depth of the textures. And I found a solution!

    You can split a 16-bit "flow map" into 2 8-bit ones, and then combine them back together in Unreal. As you can see a lot of the artifacts are gone. Some are still there, in this case we would perhaps need another 8-bit image.

    MyiXK.jpg
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    This is going to be the most asinine question ever, sorry Norman, but how did you create the original twirly map? Is it a Normal? Please do tell me it's that simple ;P

    Also, are you Appending the maps through channels, or are they two separate texture calls?
  • Norman3D
    Offline / Send Message
    Norman3D polycounter lvl 14
    Ace-Angel wrote: »
    This is going to be the most asinine question ever, sorry Norman, but how did you create the original twirly map? Is it a Normal? Please do tell me it's that simple ;P

    No worries...
    Almost. It is imported as an uncompressed normal map.
    My preferred method, as I mentioned above, is to create the "flow maps" in 3dsmax. You take a plane with a regular top-down mapping and you start moving verts around, rotating, whatever.
    Then I created a script that automatically bakes the deformation down to a "regular" plane. The output is a 16-bit png with all the nice gradients.
    Ace-Angel wrote: »
    Also, are you Appending the maps through channels, or are they two separate texture calls?

    I guess you are referring to the 2x 8-bit "flow maps". These are in fact 2 different uncompressed normal maps. The original size should be 512x512, since after setting it to uncompressed the size will be scaled down to 256x256. I tried to put them in a RGBA texture, but unfortunately you can't have an uncompressed texture with alpha in UDK. And I really need the flow map to be as untouched as possible.

    As I'm writing this I had yet another idea... Perhaps I can make it all fit in a single uncompressed normal map after all... I'll give it a shot tomorrow...
  • SirCalalot
    Offline / Send Message
    SirCalalot polycounter lvl 10
    Thanks Norman, you are certainly helping paint a clearer picture :)
  • Oniram
    Offline / Send Message
    Oniram polycounter lvl 17
    +1. thanks so much for that explanation. im gonna give this a shot later. :D
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    So awesome mate, much appreciated for all the feedback!

    From a tech stand point, I'm confused as to why it looks like the UV distortion is sampled in Nearest format as opposed to Linear. Hmm.
  • Norman3D
    Offline / Send Message
    Norman3D polycounter lvl 14
    Ace-Angel wrote: »
    So awesome mate, much appreciated for all the feedback!

    From a tech stand point, I'm confused as to why it looks like the UV distortion is sampled in Nearest format as opposed to Linear. Hmm.

    The reason for that is perhaps a bit difficult to explain for me in english, let me try! Sorry if I repeat stuff I already mentioned in previous post, it never hurts.

    So basically you have this image:
    5Wlle.jpg

    It's an 8-bit image. In other words... the gradients between 100% black and 100% white have 256 values and won't have more. Those are all the pixels you can "play" with. There is no point in making a vectormap bigger in resolution than 256x256. A 512x512 8-bit vector map, will still just have 256 values per channel. If you make a horizontal gradient in photoshop in a 512x512 canvas and zoom in, you will realize that it will repeat each color twice in order to fill the 512x512 canvas. So you'll have two pixels with a 255/255/255 value, the next two pixels will have a 254/254/254 value and so on.

    Now, let's keep in mind that this bitmap represents the UV coordinates of a texture.

    I think this describes it best:

    uZqM3.jpg

    I bet you can already tell what one of the problems is going to be. You will only be able to "distort" 16x16 pixel chunks in a 1024x1024 texture. Because one pixel in that 8-bit 256x256 vector map is assigned to 16x16 pixels in the 1024x1024 texture.

    (Note: You can move the black pixel, duplicate, even replace it completely with another color and the same things will happen to the diffuse texture.)

    Not only that but... if you distort a vectormap a lot, you won't have enough different colored pixels to represent that distortion perfectly since you are constrained to a 0 to 255 value. Here is where a 16-bit vectormap makes sense, it has 0 to 511 values.
    Keep in mind that a vector map is an attempt to represent a geometric distortion in 2D. The more values you have the more accurate it will be.

    This actually reminds me that I did use a 16-bit vector map in a previous post but it was still 256x256. D'oh! I should probably try it again but with a 512x512 resolution.

    All that being said... I still think the valve did something with the sampling that smoothed out the vector map somehow. Either that or I'm missing something here...
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    Ah, yes, that does make sense. Never realized there was so much compression going behind the scenes.
  • Oniram
    Offline / Send Message
    Oniram polycounter lvl 17
    so ive found that if you change the compressions settings to TC_VectorDisplacementmap, it heavily gets rid of the pixelation in the distortion. one thing im having an issue with though, is that the distortion stretches A LOT from the top left of the material and barely as much from the bottom right.

    this is the map im using, i tried to get something similar to your example.


    EDIT: also, what sort of filetype is the 16bit image you used before? with unreal, only targas will work properly for textures, and if you have a 16 or 32 bit image, you cant have a targa.

    Flow.jpg

    and this is my result.

    UDKFlow.jpg
134
Sign In or Register to comment.