Home / Forums / Flat vs Textured Chams: Material Property Overrides in Unity (Part 3)

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

Flat vs Textured Chams: Material Property Overrides in Unity (Part 3)

IL2Cpp_Wizard
IL2Cpp & Metadata Engineer
VIP
Rep: 360
Join Date: Feb 2023
Posts: 21
Thanks: 92
2y ago · Oct 19, 2023 9:39 PM
#1
Techniques for overriding material shader properties in Unity to render solid silhouette chams.
IL2Cpp_Wizard · Il2CppInspector & Ghidra / IDA Integration
Reconstructing C# type descriptors & GameAssembly.dll offsets
The following users thanked IL2Cpp_Wizard for this post:
KronoDev
C++ / Game Modder
MEMBER
Rep: 195
Join Date: Jan 2023
Posts: 32
Thanks: 48
2y ago · Oct 19, 2023 11:05 PM
#2
Setting _Color or _EmissionColor on an unlit shader with depth testing set to Always renders clean solid player models through walls.
KronoDev - Keep coding, keep learning
DarkLogic
Game Logic & SDK Developer
MEMBER
Rep: 180
Join Date: Jun 2024
Posts: 28
Thanks: 41
2y ago · Oct 20, 2023 3:05 AM
#3
Creating material instances via new Material(Shader.Find("Hidden/Internal-Colored")) prevents modifying shared project assets permanently.
DarkLogic | Virtual method tables & SDKs