thegrindre, on 02 November 2013 - 08:08 AM, said:
I've done a little re-skinning but I can't seem to find the background texture for the aid windows. I'd like to make those more transparent. Where is that texture hidden?
Ah, that's set a bit more absolutely, by the code (line 1593 of Source\RunActivity\Viewer3D\Materials.cs: shader.GlassColor = Color.Black). But, since the
shaders are also now editable, you could change PSPopupWindowGlass in Content\PopupWindow.fx.
// Instead of this on line 115:
return float4(lerp(ScreenColor, Color.rgb, Color.a), 1);
// Put this:
return float4(lerp(ScreenColor, Color.rgb, Color.a), 0.5);
Change that number on the end from 0 (completely transparent) to 1 (almost opaque) as desired. Note this change only works with "window glass" enabled - the non-glass code is in PSPopupWindow and needs slightly different tweaks.