它增加了視差

作者 Spongeman131·版本 v1.0·更新於 2020-03-25

通過設置着色器標誌,着色器類型並基於法線或漫反射填充紋理路徑,可以自動向一批網格添加視差。 xEdit腳本。 包括用戶界面。

截圖 共 3 張

模組介紹 作者原文

通過設置着色器標誌,着色器類型並基於法線或漫反射填充紋理路徑,可以自動向一批網格添加視差。 xEdit腳本。 包括用戶界面。

自從目前在SE上切面包以來,視差是最好的東西,令我感到驚訝的是,甚至在LE上,也從來沒有一種自動化的工具可以爲視差實際設置網格。至少,我什麼也找不到。

通過一些Googling並參考Kriffin的AllGUD SE中的腳本,我能夠將一個腳本拼湊在一起,該腳本可以批量處理網格以向它們添加視差。希望這意味着新的視差版本將包括用於其他mod的網格補丁,因爲此腳本消除了創建紋理之外的大部分工作。

它能做什麼

設置着色器類型和着色器標誌1

自動生成視差紋理路徑(請參見功能)

忽略已經設置了着色器類型的塊(即非默認值:Environmental,GlowMap等)

這樣可以防止刪除其他所需的網格效果

忽略具有透明度的塊

這些似乎會導致視差問題

忽略沒有頂點顏色的塊

添加視差會導致形狀變得不可見

特徵

通過紋理黑名單,您可以基於特定塊使用的漫反射紋理來排除它們

無損

選擇基於散光或法線生成視差紋理路徑

自動處理LE和SE網格(不處理LE網格)

用戶友好的界面和日誌記錄

安裝:

將存檔解壓縮到安裝了SSEEdit / xEdit的“編輯腳本”文件夾中。

用法

打開xEdit

加載至少一個插件,以便您可以使用腳本功能

右鍵點擊插件,然後選擇“應用腳本”

將腳本更改爲“ ItAddsParallax”

按確定

選擇網格物體所在的路徑以及要將“視差”網格物體保存到的路徑

選擇如何生成紋理路徑

按開始

常問問題

問:您能爲LE做這項工作嗎?

答:視差的網格(至少大批量)至少有99%來自LE,因此我認爲LE nif版本不需要爲此移植。我實際上並不知道如何編寫Delphi,所以我能夠將其組合在一起是一個奇蹟,而且我也沒有玩過LE,所以我沒有動力爲此投入更多時間。但是,只要您相信我並鏈接回此mod,就擁有我的權限才能修改並上傳此腳本以在LE中運行。

問:我通過此網格運行了,我有視差紋理和視差着色器修復程序,但是我的網格物體沒有效果。

答:您很可能通過ousnius優化器的舊版本運行LE nifs。即使未選中“刪除視差”,較舊的版本也會從網格中刪除頂點顏色(包括白色)。要使視差在nifs上正常運行,需要使用頂點顏色。再次從LE中獲取nif,通過優化程序的最新版本運行它們,確保未選中“ Remove Parallax”,然後在這些新的網格物體上再次運行此腳本。

——————————————————————————————————————————————

With Parallax being the best thing since sliced bread on SE currently, I was surprised there was never some kind of automated tool to actually set up a mesh for parallax, even on LE. Or at least, I couldn't find anything.

With some Googling and referring to the scripts from Kriffin's AllGUD SE, I was able to cobble together a script that can process meshes in batches to add parallax to them. Hopefully this means new parallax releases will include mesh patches for other mods since this script eliminates most of the effort required beyond creating the textures.

What it Does

Sets Shader Type and Shader Flags 1

Automatically generates the parallax texture path (see features)

Ignores blocks where the shader type is already set (ie. non Default: Environmental, GlowMap, etc)

This prevents removing other desired mesh effects

Ignores blocks that have transparency

These seem to cause problems with parallax

Ignores blocks with no vertex colors

Adding parallax to these causes the shape to go invisible

Features

Texture Blacklist allows you to exclude specific blocks from being modified based on the diffuse texture they use

Non-destructive

Choose to generate parallax texture path based on diffuse or normals

Automated handling of LE and SE meshes (won't process LE meshes)

User friendly interface and logging

Installation:

Extract the archive to your "Edit Scripts" folder where SSEEdit/xEdit is installed.

Usage

Open xEdit

Load at least one plugin so you can get to the scripting functions

Right-click on a plugin and select "Apply Script"

Change the script to "ItAddsParallax"

Press OK

Select the paths where your meshes are located and the path where you want your 'parallaxed' meshes to be saved to

Choose how to generate the texture paths

Press Start

FAQ

Q: Can you make this work for LE?

A: 99% of the meshes to be parallaxed (at least in large batches) come from LE, so I see no need to back port this for the LE nif version. I don't actually know how to code Delphi, so it's a miracle I was able to throw this together, and I also don't play LE, so I have no drive to invest more time in this for the purpose of LE. However, you have my permission to modify and upload this script to work in LE so long as you credit me and link back to this mod.

Q: I ran my meshes through this, I have parallax textures and the parallax shader fix, but I'm not getting the effect on my meshes.

A: You most likely ran LE nifs through an old version of ousnius' optimizer. Older versions removed vertex colors (including white) from meshes, even when "Remove Parallax" was unchecked. Vertex colors are required for parallax to function properly on nifs. Go grab the nifs from LE again, run them through the newest version of the optimizer, being sure to keep "Remove Parallax" unchecked, and then run this script on those new meshes again.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
它增加了视差
檔案大小
5.4 KiB
SHA-256
ebf5c130fd655d260b670bcfd661c352471906ed147abfb8298eeaef9b5aa5bb
入庫時間
2026-10-09 05:48