Skip to content

Map repeat affecting other textures' repeat on material #9457

@daveo1001

Description

@daveo1001

plunker

When setting the map to repeat the alphaMap is also affected.

I'm expecting each face of the cube to have a giant whole in the middle with the edges of the taco time texture showing near the edges of the cube in a 3x4 pattern.

I'm getting the 3x4 pattern of the taco time texture but the alphaMap, although it does not repeat it does scale down to the size of the other map. It also produces some nasty streaks.

If you comment out line 35 material.map.repeat.set(3,4); you can see what I'm expecting from the alphaMap.

Three.js version
  • Dev
  • r79
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS
Hardware Requirements (graphics card, VR Device, ...)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions