taichi-dev / taichi_three

A soft renderer based on Taichi (work in progress)
https://t3.142857.red/
MIT License
223 stars 24 forks source link

can't multiply sequence by non-int of type 'Lambert' #52

Open Y-haiyang opened 2 years ago

Y-haiyang commented 2 years ago

material = tina.Lambert() * color TypeError: can't multiply sequence by non-int of type 'Lambert'

when I run scene = tina.Scene() this error occur, how can I solve this problem?