Skip to content Skip to sidebar Skip to footer

Can't Alter Offset/repeat Of Texture Used As Alphamap

demo: https://dl.dropboxusercontent.com/u/123374/so-pages/20160601/index.html the alphaTexture is having it's offset altered during each render. as a 'map' property it changes, bu

Solution 1:

What you are seeing is a current "feature" of three.js: only one offset/repeat pair is allowed per mesh. mesh.map has priority.

For more info, see https://stackoverflow.com/a/14372235/1461008

This may be changed in the future to allow separate offset/repeat settings per texture or per material property.

three.js r.84

Solution 2:

I tried commenting out the USE_ALPHAMAP with the latest version(82) but it didn't work. However, changing the vUv to vUv2 in the alpha_fragment chunk worked.

Jim

Post a Comment for "Can't Alter Offset/repeat Of Texture Used As Alphamap"