Shadow Class
Module: Shadow
Constructor
Item Index
Methods
Methods
basicShader
(
-
options
Constructs shader - This is done this way to minify the shader structure
Parameters:
-
options
ObjectOptions of shader construction
Example:
//Simple shader considering light and diffuse texture
var shader = basicShader({
useBump: false,
useDiffuse: false,
useAtlas: false,
useSpecular: false,
useLights: false,
useTiling: false,
useReflection:false,
useSky:false
});
draw
()
draws shadow