Lines Matching refs:col
115 xvol->tex->col = tex->col; in newextvol()
128 color col; in ExtVoxelColor() local
137 col.g = 0.0; in ExtVoxelColor()
140 col.g = (scalar - 0.5) * 2.0; in ExtVoxelColor()
143 col.r = scalar; in ExtVoxelColor()
144 col.b = 1.0 - (scalar / 2.0); in ExtVoxelColor()
146 return col; in ExtVoxelColor()
150 color col, col2; in ext_volume_texture() local
164 col.r = 0.0; in ext_volume_texture()
165 col.g = 0.0; in ext_volume_texture()
166 col.b = 0.0; in ext_volume_texture()
176 return col; in ext_volume_texture()
192 return col; in ext_volume_texture()
194 return col; in ext_volume_texture()
198 return col; in ext_volume_texture()
214 return col; in ext_volume_texture()
216 return col; in ext_volume_texture()
220 return col; in ext_volume_texture()
236 return col; in ext_volume_texture()
238 return col; in ext_volume_texture()
269 col.r += transval * col2.r * xvol->ambient; in ext_volume_texture()
270 col.g += transval * col2.g * xvol->ambient; in ext_volume_texture()
271 col.b += transval * col2.b * xvol->ambient; in ext_volume_texture()
306 diffint.r += inten * li->tex->col.r; in ext_volume_texture()
307 diffint.g += inten * li->tex->col.g; in ext_volume_texture()
308 diffint.b += inten * li->tex->col.b; 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()
328 col.r += transcol.r; /* add the transmitted ray */ in ext_volume_texture()
329 col.g += transcol.g; /* to the diffuse and */ in ext_volume_texture()
330 col.b += transcol.b; /* transmission total.. */ in ext_volume_texture()
333 return col; in ext_volume_texture()