Home
last modified time | relevance | path

Searched refs:diffuse (Results 1 – 8 of 8) sorted by relevance

/oneTBB/examples/parallel_for/tachyon/src/
H A Dshade.cpp70 color col, diffuse, phongcol; in shader() local
98 diffuse.r = 0.0; in shader()
99 diffuse.g = 0.0; in shader()
100 diffuse.b = 0.0; in shader()
101 phongcol = diffuse; in shader()
103 if ((obj->tex->diffuse > 0.0) || (obj->tex->phong > 0.0)) { in shader()
136 ColorAddS(&diffuse, &li->tex->col, inten); in shader()
152 ColorScale(&diffuse, obj->tex->diffuse); in shader()
154 col.r *= (diffuse.r + obj->tex->ambient); /* do a product of the */ in shader()
155 col.g *= (diffuse.g + obj->tex->ambient); /* diffuse intensity with */ in shader()
[all …]
H A Dextvol.cpp98 xvol->diffuse = tex->diffuse; in newextvol()
117 xvol->tex->diffuse = 0.0; in newextvol()
276 if (xvol->diffuse > 0.0) { in ext_volume_texture()
311 col.r += col2.r * diffint.r * xvol->diffuse; in ext_volume_texture()
312 col.g += col2.g * diffint.g * xvol->diffuse; in ext_volume_texture()
313 col.b += col2.b * diffint.b * xvol->diffuse; in ext_volume_texture()
H A Dextvol.hpp61 flt diffuse; member
H A Dapi.cpp283 tex->diffuse = apitex->diffuse; in apitextotex()
322 li->tex->diffuse = 0.0; in rt_light()
H A Dapi.hpp74 apiflt diffuse; /* diffuse reflection */ member
H A Dtypes.hpp142 flt diffuse; /* diffuse reflection */ member
H A Dvol.cpp118 tx->diffuse = 0.0; in newscalarvol()
H A Dparse.cpp102 apitex.diffuse = 0.9; in reset_tex_table()
432 tex.diffuse = b; in GetTexBody()