Fix comment typos
This commit is contained in:
parent
c06c1b5155
commit
ac3ab3b0c6
1 changed files with 2 additions and 2 deletions
|
|
@ -1049,10 +1049,10 @@ void main()
|
|||
assert(o.mesh);
|
||||
|
||||
if (o.mat->lit && o.mat->transparent)
|
||||
throw std::runtime_error("Materials that are both tit & transparent are not supported");
|
||||
throw std::runtime_error("Materials that are both lit & transparent are not supported");
|
||||
|
||||
if (o.mat->lit && o.mat->blooming)
|
||||
throw std::runtime_error("Materials that are both tit & blooming are not supported");
|
||||
throw std::runtime_error("Materials that are both lit & blooming are not supported");
|
||||
|
||||
if (o.mat->casts_shadow && o.mat->transparent)
|
||||
throw std::runtime_error("Transparent objects cannot cast shadow");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue