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

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

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

KronoDev
C++ / Game Modder
MEMBER
Rep: 195
Join Date: Jan 2023
Posts: 32
Thanks: 48
3y ago · Feb 4, 2023 5:47 PM
#1
Techniques for overriding material shader properties in Unity to render solid silhouette chams.
KronoDev - Keep coding, keep learning
The following users thanked KronoDev for this post:
ShadowPwn
Security Researcher
MEMBER
Rep: 150
Join Date: Feb 2024
Posts: 19
Thanks: 35
3y ago · Feb 4, 2023 7:58 PM
#2
Setting _Color or _EmissionColor on an unlit shader with depth testing set to Always renders clean solid player models through walls.
ShadowPwn · Security & Anticheat Analysis
ByteSurgeon
Cheat Engine Specialist
MEMBER
Rep: 140
Join Date: Mar 2025
Posts: 19
Thanks: 30
3y ago · Feb 5, 2023 12:58 AM
#3
Creating material instances via new Material(Shader.Find("Hidden/Internal-Colored")) prevents modifying shared project assets permanently.
ByteSurgeon | Cheat Engine & Lua Automation