Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tool] PSH shader packer
#1
https://github.com/kurdtkobain/swgPSH
this tool is used to pack compiled and source shader files into swg psh format
compile your shader with fxc.exe from directx sdk then call swgpsh to pack

example


Code:
fxc.exe /T ps_2_0 /Fo water_pass2_ps20.comp water_pass2_ps20.hlsl



Code:
swgPSH.exe water_pass2_ps20.hlsl water_pass2_ps20.comp water_pass2_ps20.psh


also includes tool to dump source from psh files

example
Code:
swgPSHDump.exe water_pass2_ps20.psh water_pass2_ps20.hlsl

i know nothing about shaders but from what i could test it worked.
 
Reply
  



Forum Jump:


Browsing: 1 Guest(s)