1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"><!-- InstanceBegin template="/Templates/default_template.dwt" codeOutsideHTMLIsLocked="false" --> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5<meta http-equiv="Content-Style-Type" content="text/css" /> 6<!-- InstanceBeginEditable name="CSS の相対パス指定" --> 7<link href="../../../../../common/manual.css" rel="stylesheet" type="text/css" /> 8<script type="text/javascript" src="../../../../../common/ibox.js"></script> 9<!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="ページのタイトル" --> 10<title>toon_chess</title> 11<!-- InstanceEndEditable --> 12</head> 13<body> 14<div> 15 <div class="body"> <!-- InstanceBeginEditable name="本文のタイトル" --> 16 <h1>toon_chess</h1> 17 <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="本文" --> 18 <p>toon_chess is a toon shader expression in anime style.<br /> This type of expression is possible by drawing the RGB lookup table in a tiered pattern.</p> 19 <img class="manual_image" src="assets/chess03.png" alt="toon_chess Image"/> 20 <h2>toon_chess Settings</h2> 21 <p>This section describes settings for the toon_chess material sample.</p> 22 <h3>Material Settings</h3> 23 <p>This section describes material settings for toon_chess.<br /> Click on toon_mat displayed on the CreativeStudio Contents panel to open the material Properties panel.</p> 24 <h4>General</h4> 25 <p>Check the entire material Properties panel.</p> 26 <img class="manual_image" src="assets/toon_chess02.png" alt="toon_chess Image 02"/> 27 <p>The rendering setting is set to <em>Fragment Lighting</em>.<br /> This indicates that fragment lights are rendered using a lookup table for toon_chess.</p> 28 <p class="hint">Rendering settings must be changed to match the light being used.</p> 29 <h4>Color</h4> 30 <p>Check the colors on the material Properties panel.</p> 31 <img class="manual_image" src="assets/toon_chess03.png" alt="toon_chess Image 03"/> 32 <p> Colors are not set for toon_chess, because its specular colors are specified in the lookup table.</p> 33 <h4>Fragment</h4> 34 <p>Check the fragment lighting options on the material Properties panel.</p> 35 <img class="manual_image" src="assets/toon_chess04.png" alt="carpaint_chess Image 04"/> 36 <p>The layer configuration of the fragment lighting for toon_chess is <em>Configuration Type 0</em>.</p> 37 <p>This setting enables Spot, Distribution 0 and Reflection (R) in the lookup table.</p> 38 <p class="hint">The Reflection (R) setting is grayscale because it is used for Reflection (G) and Reflection (B) as well.</p> 39 <p>For details on layer configurations, click <a href="../../../../../user_guide/material/lighting/layer_configuration/index.html">here</a>. </p> 40 <h4>Lookup tables</h4> 41 <p>Check the lookup table on the material Properties panel.</p> 42 <h5>Lookup table set</h5> 43 <p>LookupTableSetContentCtr0 is selected for the lookup table set.</p> 44 <img class="manual_image" src="assets/toon_chess05.png" alt="toon_chess Image 05"/> 45 <p class="hint">The lookup table set manages created lookup tables as a set.<br /> Clicking on LookupTableSetContentCtr0 displayed on the CreativeStudio Content panel displays the lookup table Properties panel, where you can check the lookup tables being managed.</p> 46 <h5>Comp.</h5> 47 <p>Next, check the lookup table list.<br /> The setting for toon_chess has been made so that only a single reflectance setting is enabled and separate ones for reflectance_r, reflectance_g and reflectance_b are not used.</p> 48 <img class="manual_image" src="assets/toon_chess06.png" alt="toon_chess Image 06"/> 49 <table> 50 <thead> 51 <tr> 52 <th>Comp.</th> 53 <th>Lookup Tables</th> 54 </tr> 55 </thead> 56 <tbody> 57 <tr> 58 <th>Reflection (R)</th> 59 <td>toon_reflectance</td> 60 </tr> 61 </tbody> 62 </table> 63 <p>The lookup tables set here are managed as a lookup table set.</p> 64 <p>For details on lookup tables, click <a href="../../../../../user_guide/material/lookup_tables/index.html">here</a>.</p> 65 <h5>Input angle</h5> 66 <p>Next, check the input angle, back in the Fragment tab of the materials Properties panel.<br /> NH is used for toon_chess.</p> 67 <img class="manual_image" src="assets/toon_chess07.png" alt="carpaint_chess Image 07"/> 68 <p class="hint">The input angle NH represents light that is affected by the light and viewpoint.<br /> This is primarly used for specular expressions.</p> 69 <p>For details on the types of input angle, click <a href="../../../../../user_guide/material/lookup_tables/index.html#input_angle">here</a>.</p> 70 <h4>Fragment lighting</h4> 71 <p>Check the fragment lighting on the material Properties panel.<br /> With toon_chess, a check has been entered for <em>Apply the factor for the reflection table</em>.</p> 72 <img class="manual_image" src="assets/toon_chess08.png" alt="toon_chess Image 08"/> 73 <p>This enables application of the factor when creating the colors of light to be reflected using a lookup table.</p> 74 <h4>Texture combiners</h4> 75 <p>Check the texture combiners on the material Properties panel.<br /> This sets the colors of Combiner 0 for toon_chess.</p> 76 <img class="manual_image" src="assets/toon_chess09.png" alt="carpaint_chess Image 09"/> 77 <table> 78 <thead> 79 <tr> 80 <th>Setting</th> 81 <th>Settings</th> 82 </tr> 83 </thead> 84 <tbody> 85 <tr> 86 <th>Formula</th> 87 <td>A</td> 88 </tr> 89 <tr> 90 <th>A: Source 0</th> 91 <td>Secondary color</td> 92 </tr> 93 </tbody> 94 </table> 95 <p>This setting indicates that the secondary color will be used as-is.</p> 96 <p class="hint">The term "secondary color" indicates the specular color and lookup table.</p> 97 <p>The output result of the vertex shader is used for Source 1 and Source 2. However, there is no effect on the model because the result is not used by the calculation formula.</p> 98 <h3>CurveEditor panel</h3> 99 <p>Check the CurveEditor panel for the lookup tables actually used with toon_chess.</p> 100 <p>Select LookupTableSetContentCtr0 located on the Creative Studio Contents panel.<br /> While in the state described, select <B>Window</B> > <B>Curve editor...</B> from the menu bar to open the CurveEditor panel.</p> 101 <a href="assets/toon_chess10.png" rel="ibox" title="Click image to enlarge"><img class="ui_thumb" src="assets/toon_chess10.png" alt="toon_chess Image 10"/></a> 102 <ul> 103 <li>Horizontal axis: results in a change from 0 to 1 (from 90 degress to 0 degrees) using the angle created by input angle elements.</li> 104 <li>Vertical axis represents color (light) intensity.</li> 105 </ul> 106 <h5>toon_reflectance settings</h5> 107 <p>Select toon_reflectance displayed on the Curve Editor panel to check its curve.</p> 108 <a href="assets/toon_chess11.png" rel="ibox" title="Click image to enlarge"><img class="ui_thumb" src="assets/toon_chess11.png" alt="toon_chess Image 10"/></a> 109 <p>This image expresses tiered, toon-like shadows using a tiered curve.</p> 110 <!-- InstanceEndEditable --> </div> 111 <div class="footer" /> 112</div> 113<hr><p>CONFIDENTIAL</p></body> 114<!-- InstanceEnd --></html> 115