portal64-still-alive/assets/materials/chell.skm.yaml
Matt Penny bd3dc02c56 Get all textures from VPK
Some textures cannot be used in their current form, and so they are
transformed at build time by Imagemagick commands (e.g., add shapes,
crop and merge different portions, etc.).

For a very small number of textures, making them usable takes more than
a few simple commands. For example, Chell's eyes and ears are detached
from her face in the texture image, and there are not enough polygons in
her model or pixels in an N64 texture to make a good UV map.

For these few complex textures, James worked around the problem by
checking in pre-edited images. This commit removes those images and
instead performs the necessary transformations at build time. As a result,
some textures are now slightly different (ball launcher/catcher, cube,
Chell). Chell's UV map is redone to accomodate this - for the better.
2024-01-21 00:42:52 -05:00

167 lines
3.6 KiB
YAML

materials:
chell_face:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_face.png
siz: G_IM_SIZ_16b
s:
wrap: false
t:
wrap: false
gDPSetCombineMode: G_CC_MODULATEI
gDPSetCycleType: G_CYC_1CYCLE
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_head:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_head.png
siz: G_IM_SIZ_16b
s:
wrap: false
t:
wrap: false
gDPSetCombineMode: G_CC_MODULATEI
gDPSetCycleType: G_CYC_1CYCLE
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_pants:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_pants.png
siz: G_IM_SIZ_16b
s:
wrap: false
t:
wrap: false
gDPSetCombineMode: G_CC_MODULATEI
gDPSetCycleType: G_CYC_1CYCLE
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_shirt:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_body.png
siz: G_IM_SIZ_16b
s:
wrap: false
t:
wrap: false
gDPSetCombineMode: G_CC_MODULATEI
gDPSetCycleType: G_CYC_1CYCLE
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_back_logo:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_back_logo.png
siz: G_IM_SIZ_16b
s:
wrap: false
t:
wrap: false
gDPSetCombineMode: G_CC_MODULATEI
gDPSetCycleType: G_CYC_1CYCLE
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_neck:
gDPSetCombineMode:
color: [PRIMITIVE, "0", SHADE, "0"]
alpha: ["0", "0", "0", PRIMITIVE]
gDPSetCycleType: G_CYC_1CYCLE
gDPSetPrimColor:
r: 184
g: 127
b: 101
a: 255
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_arm:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_body.png
siz: G_IM_SIZ_16b
gDPSetCombineMode:
color: [PRIMITIVE, "0", SHADE, "0"]
alpha: ["0", "0", "0", PRIMITIVE]
gDPSetCycleType: G_CYC_1CYCLE
gDPSetPrimColor:
r: 184
g: 127
b: 101
a: 255
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_leg:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_pants.png
siz: G_IM_SIZ_16b
gDPSetCombineMode:
color: [PRIMITIVE, "0", SHADE, "0"]
alpha: ["0", "0", "0", PRIMITIVE]
gDPSetCycleType: G_CYC_1CYCLE
gDPSetPrimColor:
r: 184
g: 127
b: 101
a: 255
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_boots_white:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_pants.png
siz: G_IM_SIZ_16b
gDPSetCombineMode:
color: [PRIMITIVE, "0", SHADE, "0"]
alpha: ["0", "0", "0", PRIMITIVE]
gDPSetCycleType: G_CYC_1CYCLE
gDPSetPrimColor:
r: 220
g: 220
b: 220
a: 255
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
chell_boots_black:
gDPSetTile:
filename: ../../portal_pak_modified/materials/models/player/chell_pants.png
siz: G_IM_SIZ_16b
gDPSetCombineMode:
color: [PRIMITIVE, "0", SHADE, "0"]
alpha: ["0", "0", "0", PRIMITIVE]
gDPSetCycleType: G_CYC_1CYCLE
gDPSetPrimColor:
r: 20
g: 20
b: 20
a: 20
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE]
clear: [G_CULL_BACK]