You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hamzakubba
changed the title
0.151.0 causes THREE-CustomShaderMaterial when based on materials that have a map
r151 throws error when THREE-CustomShaderMaterial is based on materials that have a map
Mar 31, 2023
Description
Reference issue: FarazzShaikh/THREE-CustomShaderMaterial#35
Because
#define USE_UV
no longer happens (#25740), this code https://github.com/mrdoob/three.js/blob/dev/src/renderers/shaders/ShaderChunk/uv_pars_fragment.glsl.js#L4 never happens andvUv
is now not defined. Any shaders or logic that previously relied on it will now break, e.g: https://github.com/FarazzShaikh/THREE-CustomShaderMaterial/blob/main/package/src/shaders.ts#L26Reproduction steps
Code
Live example
Screenshots
No response
Version
r151
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: