Skip to content

Commit f4a6658

Browse files
authored
ATC Example: consistently set thickness (mrdoob#21390)
* make ATC wireframe lines a consistent thickness * Add spacing, variable rename * fix screenshot * consistently set the material thickness * update screenshot from new variable change
1 parent 8a59d96 commit f4a6658

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
Loading

examples/webgl_materials_wireframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164

165165
const material3 = new THREE.ShaderMaterial( {
166166

167-
uniforms: { 'thickness': { value: API.thickness * 0.01 } },
167+
uniforms: { 'thickness': { value: API.thickness } },
168168
vertexShader: document.getElementById( 'vertexShaderATC' ).textContent,
169169
fragmentShader: document.getElementById( 'fragmentShaderATC' ).textContent,
170170
side: THREE.DoubleSide,

0 commit comments

Comments
 (0)