SolidEnergy: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page)
 
(Added proxies)
Line 2: Line 2:
{{update}}
{{update}}


'''<code>SolidEnergy</code>''' is a shader currently only found on Portal 2's {{P2 add|fizzler textures}}.
'''<code>SolidEnergy</code>''' is a shader currently only found on Portal 2's {{P2 add|fizzler and hard light bridge textures}}.


The shader is known to work in {{portal2}}  Portal 2 and {{csgo}} Counter-Strike: Global Offensive.
The shader is known to work in {{portal2}}  Portal 2 and {{csgo}} Counter-Strike: Global Offensive.
Line 11: Line 11:
*<code>[[$translucent]]</code>
*<code>[[$translucent]]</code>
*<code>[[$additive]]</code>
*<code>[[$additive]]</code>
*<code>[[Proxies]]</code>
{{todo|What other effects does this shader support?}}
{{todo|What other effects does this shader support?}}



Revision as of 06:38, 6 July 2018

Stub

This article or section is a stub. You can help by expanding it.

Broom icon.png
This article or section needs to be updated to include current information regarding the subject.
Remember to check for any notes left by the tagger at this article's talk page.

SolidEnergy is a shader currently only found on Portal 2's Template:P2 add.

The shader is known to work in Portal 2 Portal 2 and Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Supported effects

Todo: What other effects does this shader support?


Example

The example shown here is materials/effects/fizzler.vmt from Portal 2.

SolidEnergy
{
	$basetexture "effects/fizzler_ripples_dim"
	$flowmap "effects/fizzler_flow"
	$flowbounds "effects/fizzler_bounds"
	$FLOW_NOISE_TEXTURE "effects/fizzler_noise"
	$FLOW_UVSCROLLDISTANCE "0.25"
	$FLOW_TIMEINTERVALINSECONDS "1.2"
	$FLOW_NOISE_SCALE 0.003
	$FLOW_LERPEXP 1.5
	$FLOW_WORLDUVSCALE 0.008
	$FLOW_NORMALUVSCALE 0.008
	$FLOW_COLOR "[0.025 0.08 0.1]"
	$FLOW_VORTEX_COLOR "[0.64 2.058 2.56]"
	$surfaceprop glass
	"%keywords" Portal2
	$translucent 1
	$additive 1
	$FLOW_VORTEX_SIZE 35

	"360?$outputintensity" 2.8
	"SonyPS3?$outputintensity" .7
	"srgb_pc?$outputintensity" 2.3
	"!srgb_pc?$outputintensity" 1.7

	Proxies
	{
		FizzlerVortex
		{
		}
	}
}