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"

Textures in HTML5

Any idea why my textures appear like this on HTML5. It's perfect on windows builds, but as I launch on web the tiling gets messed up.

alt text

alt text

Any tips as to how to make textures or Materials for HTML builds? Thanks.

Product Version: UE 4.18
capture.png (203.1 kB)
capture2.png (211.0 kB)
more ▼

asked Nov 14 '17 at 07:15 AM in Using UE4

avatar image

35 4 3 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Check out this thread https://answers.unrealengine.com/questions/602638/texture-issue-in-html5.html with a similar kind of comment. In particular, try making the texture width and height a power of 2? (256, 512, 1024, ...)

more ▼

answered Nov 14 '17 at 11:32 AM

avatar image

1.2k 15 4 17

avatar image AshwinPG Nov 14 '17 at 11:42 AM

What about the first picture, with patches? Will changing texture's width and height to a power of 2 get rid of those dark patches too?

avatar image juj Nov 14 '17 at 01:34 PM

Not quite sure about what's going on in the first picture. In that one it looks somehow as if there are blocks of different brightnesses, which suggests that these are perhaps 4x4 pixel blocks of DXT1 compressed textures? (or some other texture compression?) Given that the blocks look so large, perhaps increasing the resolution of the texture might help there. If there's a way to disable DXT compression, you could try to see if that affects the result.

avatar image AshwinPG Nov 15 '17 at 07:43 AM

Alright, and what about colours instead of textures? If I have a white colour for the walls and not a texture?

avatar image juj Nov 15 '17 at 05:04 PM

Not sure about that. Perhaps worth a shot to try out. One other thing that came to mind is perhaps the issue might be due to low resolution of light maps, and increasing light map sizes could improve quality? ( https://forums.unrealengine.com/development-discussion/content-creation/108201-lightmap-resolution-problem )

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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