DXT5 compression. Use cabbage as base model, including a bunch of shader

nodes.
This commit is contained in:
Empathic Qubit 2021-05-29 23:03:25 -04:00
parent 5b116f357a
commit b7439100a1
6 changed files with 7 additions and 8 deletions

5
.vscode/tasks.json vendored
View file

@ -19,10 +19,7 @@
{
"label": "Build and Reload",
"type": "shell",
"group": {
"isDefault": true,
"kind": "build"
},
"group": "build",
"command": "${workspaceFolder}/build.ps1",
"args": ["-KickVortex", "-Reload"],
"problemMatcher": [

View file

@ -39,6 +39,7 @@ EndEvent
Event OnMyAction(string eventName, string strArg, float numArg, Form sender)
Debug.Trace("VRIK activated me!")
PlayerRef.PlaceAtMe(_EQ_ItemRoulette_Roulette)
;/
Int numItems = PlayerRef.getNumItems()
Int formIndex = numItems
Int count = 0
@ -51,4 +52,5 @@ Event OnMyAction(string eventName, string strArg, float numArg, Form sender)
invItemInst.SetMotionType(invItemInst.Motion_Keyframed)
DisplayItems[count - 1] = invItemInst
EndWhile
/;
EndEvent

View file

@ -154,7 +154,7 @@ if($Zip) {
if($KickVortex) {
# Restart Vortex and kick off deploy-mods event via Chrome Debug Protocol.
Stop-Process -Name Vortex
Stop-Process -Name Vortex -ErrorAction SilentlyContinue
$env:KICK_PORT=6969
$VortexPath = (Get-ItemProperty HKLM:\SOFTWARE\57979c68-f490-55b8-8fed-8b017a5af2fe).InstallLocation
$GameId = (Get-Item "$env:APPDATA/Vortex/skyrim*").BaseName

View file

@ -41,7 +41,7 @@ try:
# (4, 'filename', 'The name of the file to save the image as'),
dds_path,
# (4, 'raw-filename', 'The name entered'),
0,
3,
# (0, 'compression-format', 'Compression format # (0 = None, 1 = BC1/DXT1, 2 = BC2/DXT3, 3 = BC3/DXT5, 4 = BC3n/DXT5nm, 5 = BC4/ATI1N, 6 = BC5/ATI2N, 7 = RXGB # (DXT5), 8 = Alpha Exponent # (DXT5), 9 = YCoCg # (DXT5), 10 = YCoCg scaled # (DXT5))'),
1,
# (0, 'mipmaps', 'How to handle mipmaps # (0 = No mipmaps, 1 = Generate mipmaps, 2 = Use existing mipmaps # (layers)'),
@ -59,9 +59,9 @@ try:
# (0, 'gamma-correct', 'Use gamma correct mipmap filtering'),
0,
# (0, 'srgb', 'Use sRGB colorspace for gamma correction'),
0,
# (3, 'gamma', 'Gamma value to use for gamma correction # (i.e. 2.2)'),
2.2,
# (3, 'gamma', 'Gamma value to use for gamma correction # (i.e. 2.2)'),
1,
# (0, 'perceptual-metric', 'Use a perceptual error metric during compression'),
0,
# (0, 'preserve-alpha-coverage', 'Preserve alpha test converage for alpha channel maps'),