New .vsh and .psh

Oct 10, 2017
141
6
18
#1
I'm trying to put some of the pixels and vertex from NGE into Pre-NGE renaming their names. I'm using them on new objects but they don't look to work.
Anyone know if have those files to be added to system or why they aren't working?.
 
Last edited:

Malketh

New Member
Jan 8, 2017
3
0
1
#2
I believe it's a format issue, if I remember right from what I'd read. Newer stuff the old engine couldn't use/handle.
 

Timbab

Administrator
Staff member
Administrator
Oct 6, 2010
1,014
16
38
27
Magna Germania
#4
They're HLSL shaders and the code isn't right for the PreCU pipe, so they'd need to be changed/rewritten.

It is possible to add new effects/shaders though, yes.

Random tidbit, the PSH are in .IFF format, with one chunk being the compiled code and one chunk being the raw code in text format, VSH are uncompiled.
 
Oct 10, 2017
141
6
18
#5
I don't know if i'm understanding you but Yes. i renamed those files even in the .iffs but didn't work.
 

Timbab

Administrator
Staff member
Administrator
Oct 6, 2010
1,014
16
38
27
Magna Germania
#6
Nope, that's not what I meant. The .PSH file itself is in .IFF format in general, like .WS files are, etc, whereas the .VSH file is basically a raw text file.

You won't get it to work without rewriting the HLSL code, so for that, you'd need someone that knows HLSL and for them to be willing to rewrite them to work for PreCU.

Easiest method is just to find comparable .EFT files and link those inside the problem .SHT files.
 
Likes: Aeryna