| Line 11: |
Line 11: |
| | | | |
| | == Material textures == | | == Material textures == |
| − | Materials consist of a base texture, which is a mostly grayscale texture that can be colored by the player, a bump texture, which is the usually purple tinted normal map and finally the extra texture. The material uses the 3 color channels of the extra texture to modify the material. The red channel controls occlusion, i.e. how dark a material appears, even direct light, to simulate crevices, the green channel controls smoothness/specularity and finallyt the blue channel controls color masking, where 100% blue means the player's color will be 100% multiplied with the base texture color and 0% means the material will only use the base texture color. An example of using the blue channel of the Extra texture would be to add gold adornments to a wall that the player can't change the color of. | + | Materials consist of: |
| | + | * Base texture, which is a mostly grayscale texture that can be colored by the player |
| | + | * Bump texture, which is the usually purple tinted normal map |
| | + | * Extra texture. The material uses the 3 color channels of the extra texture to modify the material. The red channel controls occlusion, i.e. how dark a material appears, even direct light, to simulate crevices, the green channel controls smoothness/specularity and finallyt the blue channel controls color masking, where 100% blue means the player's color will be 100% multiplied with the base texture color and 0% means the material will only use the base texture color. An example of using the blue channel of the Extra texture would be to add gold adornments to a wall that the player can't change the color of. |
| | | | |
| | = XML example = | | = XML example = |