H2PC_TagExtraction icon indicating copy to clipboard operation
H2PC_TagExtraction copied to clipboard

Automatically remake shader tags.

Open num0005 opened this issue 6 years ago • 2 comments

Copied from #10

Due to post processing H2Tool does on package, the tag does not function for it's intended purpose. Must be remade from scratch. Data within can be used to remake the shader properly. Data changes completely from what H2Sapien expects.

num0005 avatar Jun 14 '19 21:06 num0005

  • Some quick notes on shaders. https://pastebin.com/FmqmP6F9

General-101 avatar Jun 15 '19 14:06 General-101

Some progress has been made on this as of https://github.com/Project-Cartographer/H2PC_TagExtraction/commit/e4e36f31f4881515e0e19431c46d12b1d8a02b36

Currently the shader emulator writes

shader_template material_name depth_bias_offset dynamic_light_specular_type lightmap_type lightmap_specular_brightness lightmap_ambient_bias shader_lod_bias referenced bitmaps

The following is still required

pixel_constants vertex_constants overlays

All of these I decently understand except for overlays. Need to look into these more.

General-101 avatar Jul 09 '19 21:07 General-101