Re: [hlcoders] Shader-entity communication

2008-05-06 Thread Per Rasmussen
[mailto:[EMAIL PROTECTED] On Behalf Of Per > Rasmussen > Sent: Monday, May 05, 2008 6:51 AM > To: hlcoders@list.valvesoftware.com > Subject: [hlcoders] Shader-entity communication > > Hi, > > I am pretty new to the Source Engine. I am trying to make a shader > effect >

Re: [hlcoders] Shader-entity communication

2008-05-05 Thread Chris Green
@list.valvesoftware.com Subject: [hlcoders] Shader-entity communication Hi, I am pretty new to the Source Engine. I am trying to make a shader effect for a model entity which needs to react when the entity is damaged. However, I cannot figure out how to get a "message" from the entity to its respect

Re: [hlcoders] Shader-entity communication

2008-05-05 Thread Steve Henderson
Per Rasmussen, I'm not sure how to pass messages as you've described. However, depending on how complex your shading is, you might be able to use a Procedural Material. Or, you might find that a procedural material is required as an entry point for communication with the underlying shading. I've

[hlcoders] Shader-entity communication

2008-05-05 Thread Per Rasmussen
Hi, I am pretty new to the Source Engine. I am trying to make a shader effect for a model entity which needs to react when the entity is damaged. However, I cannot figure out how to get a "message" from the entity to its respective shader instance saying that it should react now. Can anybody point