Reflection
Quote from KFredje on June 4, 2012, 10:38 amHi,
I'm making a new map and I have a little problem. I have a wall as func_brush. This wall will move in the game. There is also goo on the ground. Also, behind the wall there are items...
The items get reflected in the goo and the wall doesn't and this should be reverse. So if the wall is there, items do not reflect in the goo and the wall does and when the wall is gone the items should reflect.
Is there a way how to achieve this?
Hi,
I'm making a new map and I have a little problem. I have a wall as func_brush. This wall will move in the game. There is also goo on the ground. Also, behind the wall there are items...
The items get reflected in the goo and the wall doesn't and this should be reverse. So if the wall is there, items do not reflect in the goo and the wall does and when the wall is gone the items should reflect.
Is there a way how to achieve this?

Quote from josepezdj on June 4, 2012, 11:05 amWould it be possible that you tell which water texture are you using? Some of them has some particular settings into the .vmt that could be influencing those reflections.
Also check out in the func_brush properties and make sure that "Render Fast Reflections" is set to Yes
Would it be possible that you tell which water texture are you using? Some of them has some particular settings into the .vmt that could be influencing those reflections.
Also check out in the func_brush properties and make sure that "Render Fast Reflections" is set to Yes
Quote from Brainstone on June 4, 2012, 11:24 amOn a related note, all my goo water textures don't reflect prop_dynamics. (I always use the first texture of the model browser if you search for "toxic", because this water texture doesn't have the annoying square borders)
Is it possible to reflect prop_dynamics in goo?
On a related note, all my goo water textures don't reflect prop_dynamics. (I always use the first texture of the model browser if you search for "toxic", because this water texture doesn't have the annoying square borders)
Is it possible to reflect prop_dynamics in goo?
Quote from Groxkiller585 on June 4, 2012, 11:31 amBrainstone wrote:On a related note, all my goo water textures don't reflect prop_dynamics. (I always use the first texture of the model browser if you search for "toxic", because this water texture doesn't have the annoying square borders)Is it possible to reflect prop_dynamics in goo?
I get the opposite effect: everything that is not an entity using a model or not a prop_dynamic does not show up in goo reflections.
Is it possible to reflect prop_dynamics in goo?
I get the opposite effect: everything that is not an entity using a model or not a prop_dynamic does not show up in goo reflections.


Quote from josepezdj on June 4, 2012, 11:54 amBrainstone wrote:Is it possible to reflect prop_dynamics in goo?Well, I'm not in front of my computer right now... but I guess you're referring to "toxicslime002a" maybe? I'll have to check out into the .vmt later and let you know but, if you can, meanwhile go check into the .vmt if there's a line like so:
"$reflectentities" 1
(or maybe this line has a "0" value)
If not, try to add it saving the texture with a different name, and select it in hammer in your map...
Tell me if it makes some difference.
Groxkiller wrote:I get the opposite effect: everything that is not an entity using a model or not a prop_dynamic does not show up in goo reflections.Which water texture are you using?
Well, I'm not in front of my computer right now... but I guess you're referring to "toxicslime002a" maybe? I'll have to check out into the .vmt later and let you know but, if you can, meanwhile go check into the .vmt if there's a line like so:
"$reflectentities" 1
(or maybe this line has a "0" value)
If not, try to add it saving the texture with a different name, and select it in hammer in your map...
Tell me if it makes some difference.
Which water texture are you using?
Quote from Brainstone on June 4, 2012, 12:46 pmYep it's working now. I have set onlyreflectmarkedentities to 0 and added reflectentities 1.
however, now it has a noticeable small lagging on my PC, which can't honestly be called bad, what leads me to the conclusion that I should name this texture "toxicslimeExpensive" and only use it in special occasions.Thank you anyway.
Yep it's working now. I have set onlyreflectmarkedentities to 0 and added reflectentities 1.
however, now it has a noticeable small lagging on my PC, which can't honestly be called bad, what leads me to the conclusion that I should name this texture "toxicslimeExpensive" and only use it in special occasions.
Thank you anyway.

Quote from josepezdj on June 4, 2012, 12:57 pmKFredje wrote:Tnx for the help, setting "Render Fast Reflections" to Yes fixed my problemGlad to hear!
Brainstone wrote:Yep it's working now. I have set onlyreflectmarkedentities to 0 and added reflectentities 1.
however, now it has a noticeable small lagging on my PC, which can't honestly be called bad, what leads me to the conclusion that I should name this texture "toxicslimeExpensive" and only use it in special occasions.Thank you anyway.
Yeap, I'm afraid this water has become expensive by reflecting all entities... Anyway, indeed you could make some use of that param "$onlyreflectmarkedentities" instead marking only those entities you want to be reflected, this way it's you who decides the most convenient balance between performance / reflection...
EDIT: Addition to all above said: sometimes building cubemaps solves many bugs in reflections, please note!

Glad to hear!
however, now it has a noticeable small lagging on my PC, which can't honestly be called bad, what leads me to the conclusion that I should name this texture "toxicslimeExpensive" and only use it in special occasions.
Thank you anyway.
Yeap, I'm afraid this water has become expensive by reflecting all entities... Anyway, indeed you could make some use of that param "$onlyreflectmarkedentities" instead marking only those entities you want to be reflected, this way it's you who decides the most convenient balance between performance / reflection...
EDIT: Addition to all above said: sometimes building cubemaps solves many bugs in reflections, please note!