x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Why is the water texture stretched?

I am trying to make an ocean off an island so I took the premade floor mesh and scaled it to the size I wanted. I then just dragged the ocean water texture onto the floor and the texture looks as if it were stretched. I also tried this with the box in the geometry tab in the modes window and it looked the same. How could I get it to look normal or is their a tutorial i can follow to make a realistic ocean? http://i.imgur.com/wbvrrpG.png

Thank you as I am very new to UE4 and appreciate all the help.

Product Version: Not Selected
Tags:
more ▼

asked Jul 18 '14 at 09:18 PM in Rendering

avatar image

adamb5044
13 6 9 11

avatar image Vallamost Aug 07 '14 at 06:55 PM

What are your UV tiling settings set to?

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Sort of resurrecting an old thread here, but you could also use world coordinates to act as your UVs for your water mesh plane.

https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ExpressionReference/Coordinates/index.html#worldposition

more ▼

answered Sep 14 '14 at 03:39 AM

avatar image

nickpetersonfx
261 6 4 13

avatar image Elijen May 23 '15 at 06:51 AM

Thanks! I think this is actually the correct solution as it involves modifying the material instead of the model.

avatar image Elijen May 23 '15 at 06:55 AM

The only catch is that it's hard to modify complex materials this way. (for example the water materials from the Starter Content)

(comments are locked)
10|2000 characters needed characters left

Hello, adamb5044.

Unfortunately, any mesh that is scaled is going to stretch the texture. However, you have a few options for making a large ocean without stretched textures.

  1. If you have a modeling program such as Maya or Blender, you can use it to create a large static mesh (that you won't need to stretch before applying the ocean texture to it).

  2. You can use the small static mesh that you scaled (which stretched the texture) and make a lot of (unscales) copies of it to provide your surface.

  3. You can use a Box Brush (BSP) from the Geometry tab of the Modes window and scale that - which won't stretch the texture. The problem with that is that BSPs are meant to be temporary, so they have poorer performance than static meshes.

  4. You could use a Landscape (from the Modes window, click on the picture of the mountains) and apply the ocean texture. Landscapes can sometimes be more cumbersome than static meshes, but they should serve your purpose fairly well.

Regards,

Jonathan

more ▼

answered Aug 07 '14 at 07:30 PM

avatar image adamb5044 Aug 07 '14 at 09:19 PM

Thank you so much, you are magnificent.

avatar image Jonathan Dorman STAFF Aug 07 '14 at 09:20 PM

Happy to help!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question