Parse techniques

This commit is contained in:
Jan
2022-03-27 21:10:33 +02:00
parent 7c9805b4ba
commit b770360ee1
11 changed files with 520 additions and 7 deletions

View File

@ -209,7 +209,7 @@ namespace IW4
else if (arg.type == MTL_ARG_MATERIAL_PIXEL_CONST || arg.type == MTL_ARG_MATERIAL_VERTEX_CONST || arg.type == MTL_ARG_MATERIAL_PIXEL_SAMPLER)
{
Indent();
m_stream << codeDestAccessor << " = material.#" << std::hex << arg.u.nameHash << ";\n";
m_stream << codeDestAccessor << " = material.#0x" << std::hex << arg.u.nameHash << ";\n";
}
else
{