ReadMe.txt
1======================================================================
2 MultiplyShader
3 2010/12/14
4======================================================================
5
6======================================================================
7 Specifications
8======================================================================
9MultiplyShader is a sample vertex shader.
10
11Shading performs the following color processing.
12
13----------------------------------------------------------------------
14
15- Vertex color present
16-- RGB
17Hemispherical light x Vertex color
18Note: The vertex color is output if there is no hemispherical light.
19(The value of the hemispherical light is 1.)
20Note: You can also make everything completely black by setting the hemispherical light color to 0.
21
22-- A
23Vertex alpha (when present)
241 (opaque when not present)
25
26----------------------------------------------------------------------
27
28- Vertex color absent
29-- RGB
30Hemispherical light x 1
31Note: A fixed value is used if there is no hemispherical light (1 x 1 results in white)
32Note: This is not applied to the material color (diffuse or ambient).
33
34- A
35Vertex alpha (when present)
361 (opaque when not present)
37
38----------------------------------------------------------------------
39
40======================================================================
41 Using the Tool
42======================================================================
43Use MultiplyShader.csdr by binding it to the model as a user-shader.
44
45If you have overwritten the shader, use build.bat to create shader binary (MultiplyShader.shbin) referencing the environment variables CTRSDK_ROOT and NW4C_ROOT.
46Create intermediate files to be used using the CreativeStudio shader creation panel.
47
48======================================================================
49 Notes
50======================================================================
51- Overwriting the shader for use is essentially unsupported.
52・MultiplyShader may change without notice.
53