Automatically remake shader tags.
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.
- Some quick notes on shaders. https://pastebin.com/FmqmP6F9
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.