THREE fog

48 views
Skip to first unread message

math...@gmail.com

unread,
May 15, 2017, 3:07:00 AM5/15/17
to MathBox
why isn't mb.three.scene.fog = new Fog(0x000000, 0, 100); working ?

Alexander Mordvintsev

unread,
May 19, 2017, 5:42:42 PM5/19/17
to MathBox
MathBox uses THREE.RawShaderMaterial under the hood. It doesn't support three.js lighting or fog. You may try to implement your custom using ".framgent()" primitive.

понедельник, 15 мая 2017 г., 0:07:00 UTC-7 пользователь BlackMath написал:
Reply all
Reply to author
Forward
0 new messages