G3D::Texture

6 views
Skip to first unread message

Vitaly Shevtsov

unread,
Dec 6, 2011, 11:18:53 AM12/6/11
to Рассылка G3D
Hello!

Is it possible to cover one texture above another? I have two
textures, one of which has alpha mask. I want to cover texture with
alpha-channel above another normal (without alpha) texture. But
G3D::Material::setLambertian() allows only one as argument

--
Vitaly

Morgan McGuire

unread,
Dec 6, 2011, 11:53:56 AM12/6/11
to g3d-...@googlegroups.com
Unless you want to make your own shader, you have to put two surfaces there.

-m

Prof. Morgan McGuire
Computer Science Department
Williams College
http://cs.williams.edu/~morgan

Vitaly Shevtsov

unread,
Dec 6, 2011, 8:09:57 PM12/6/11
to g3d-...@googlegroups.com
Thanks a lot! I'll try it.

2011/12/6 Morgan McGuire <mor...@cs.williams.edu>:

--
Шевцов Виталий

Reply all
Reply to author
Forward
0 new messages