Tutorial: Fill
Joon Hyub Lee edited this page Jul 17, 2013
·
11 revisions
**[Home](https://github.com/joonhyublee/joons-renderer/wiki) >
[Tutorial](https://github.com/joonhyublee/joons-renderer/wiki/Tutorial) >
Tutorial: Fill**
## Light
* `jr.fill("light", float radiance R, G, B)`
* `jr.fill("light", float radiance R, G, B, int samples)`
## Constant
* `jr.fill("constant", float R, G, B)`
## Diffuse
* `jr.fill("diffuse", float R, G, B)`
## Shiny
* `jr.fill("shiny", float R, G, B)`
* `jr.fill("shiny", float R, G, B, float shininess)`
## Mirror
* `jr.fill("mirror", float R, G, B)`
## Glass
* `jr.fill("glass", float R, G, B)`
* `jr.fill("glass", float R, G, B, float indexOfRefraction)`
* `jr.fill("glass", float R, G, B, float indexOfRefraction, float absorptionDistance, float apsorption R, G, B)`
## Phong
* `jr.fill("phong", float diffuse R, G, B)`
* `jr.fill("phong", float diffuse R, G, B, float specular R, G, B)`
* `jr.fill("phong", float diffuse R, G, B, float specular R, G, B, float specularityHardness, float reflectionBluriness)`
## Ambient Occlusion
* `jr.fill("ambient_occlusion", float bright R, G, B)`
* `jr.fill("ambient_occlusion", float bright R, G, B, dark R, G, B, float maxDistance, int samples)`