Hello,
I want to create a overlay-effect with the ForcedMaterialOverride
function for a specific entity.
The entity is derived from CBaseEntity and mapped over network. The
client class is very simple (network variable is stripped out):
class C_TestEntity : public C_BaseEntity
{
public:
-Life Programming
Subject: Re: [hlcoders] ForcedMaterialOverride
2 more questions:
first: where is the catalyst control center?
second: this looks like a fix to my computer. So there shouldn't be
any problems with other computers? If there should, is there another
way to override the textures without
2 more questions:
first: where is the catalyst control center?
second: this looks like a fix to my computer. So there shouldn't be
any problems with other computers? If there should, is there another
way to override the textures without needing these fixes?
2009/4/9 botman
Hi, I'm Xblah, coder-lead of Offline: Source.
I'm trying to build a thermal vision, and one step is overriding the
materials of the combat characters:
int C_BaseCombatCharacter::DrawModel(int flags)
{
int retVal = BaseClass::DrawModel(flags);
if ( m_bThermal )
{
Shouldn't you use VertexLitGeneric as the shader for the .vmt?
- Original Message -
From: Jean Marcel Knapp dos Santos changremi...@gmail.com
To: hlcoders@list.valvesoftware.com
Sent: Friday, April 10, 2009 12:45 AM
Subject: [hlcoders] ForcedMaterialOverride
Hi, I'm Xblah, coder-lead
?
- Original Message -
From: Jean Marcel Knapp dos Santos changremi...@gmail.com
To: hlcoders@list.valvesoftware.com
Sent: Friday, April 10, 2009 12:45 AM
Subject: [hlcoders] ForcedMaterialOverride
Hi, I'm Xblah, coder-lead of Offline: Source.
I'm trying to build a thermal vision
Knapp dos Santos changremi...@gmail.com
To: Discussion of Half-Life Programming hlcoders@list.valvesoftware.com
Sent: Friday, April 10, 2009 1:19 AM
Subject: Re: [hlcoders] ForcedMaterialOverride
Thanks, it worked, but now there is another error:
ShaderAPIDX8::CreateD3DTexture: Invalid color
On 4/9/2009 6:19 PM, Jean Marcel Knapp dos Santos wrote:
Thanks, it worked, but now there is another error:
ShaderAPIDX8::CreateD3DTexture: Invalid color format!
The combat characters are now black... They supposed to be yellow/red.
If you google ShaderAPIDX8::CreateD3DTexture: Invalid color
8 matches
Mail list logo