New .vsh and .psh

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
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
Joined
Jan 8, 2017
Messages
3
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.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
So, can't we add new effects?. Do you mean that?
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
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.
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
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
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
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.
 
Top Bottom