portal64-still-alive/assets/materials/ball_catcher.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

251 lines
6.2 KiB
YAML

materials:
catcher_solid_white:
gDPSetTile:
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_back.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 0
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_sheet.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 256
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/combine_ball_launcher.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 384
s:
wrap: false
t:
wrap: false
gDPSetPrimColor:
r: 255
g: 255
b: 255
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
gDPSetCombineMode:
color: ["PRIMITIVE", "0", "SHADE", "0"]
catcher_solid_black:
gDPSetTile:
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_back.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 0
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_sheet.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 256
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/combine_ball_launcher.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 384
s:
wrap: false
t:
wrap: false
gDPSetPrimColor:
r: 32
g: 32
b: 32
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
gDPSetCombineMode:
color: ["PRIMITIVE", "0", "SHADE", "0"]
catcher_solid_white_double:
gDPSetTile:
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_back.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 0
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_sheet.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 256
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/combine_ball_launcher.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 384
s:
wrap: false
t:
wrap: false
gDPSetPrimColor:
r: 255
g: 255
b: 255
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE]
clear: [G_CULL_BACK]
gDPSetCombineMode:
color: ["PRIMITIVE", "0", "SHADE", "0"]
catcher_solid_black_double:
gDPSetTile:
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_back.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 0
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_sheet.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 256
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/combine_ball_launcher.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 384
s:
wrap: false
t:
wrap: false
gDPSetPrimColor:
r: 32
g: 32
b: 32
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE]
clear: [G_CULL_BACK]
gDPSetCombineMode:
color: ["PRIMITIVE", "0", "SHADE", "0"]
catcher_center:
gDPSetTile:
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_back.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 0
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_sheet.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 256
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/combine_ball_launcher.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 384
s:
wrap: false
t:
wrap: false
gSPTexture:
tile: 0
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
gDPSetCombineMode:
color: ["TEXEL0", "0", "SHADE", "0"]
catcher_ring:
gDPSetTile:
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_back.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 0
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_sheet.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 256
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/combine_ball_launcher.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 384
s:
wrap: false
t:
wrap: false
gSPTexture:
tile: 1
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
gDPSetCombineMode:
color: ["TEXEL0", "0", "SHADE", "0"]
catcher_blue:
gDPSetTile:
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_back.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 0
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/ball_catcher_sheet.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 256
s:
wrap: false
t:
wrap: false
- filename: ../../portal_pak_modified/materials/models/props/combine_ball_launcher.png
fmt: G_IM_FMT_RGBA
siz: G_IM_SIZ_16b
tmem: 384
s:
wrap: false
t:
wrap: false
gSPTexture:
tile: 2
gSPGeometryMode:
set: [G_LIGHTING, G_SHADE, G_CULL_BACK]
gDPSetCombineMode:
color: ["TEXEL0", "0", "SHADE", "0"]