I remember it looking something like this...
Code: Select all
bool EnableBloom
<
string UIName="Enable Bloom";
> = {true};
Code: Select all
if(EnableBloom == true)
{
color.xyz += bloom * BloomAmount;
}
Code: Select all
bool EnableBloom
<
string UIName="Enable Bloom";
> = {true};
Code: Select all
if(EnableBloom == true)
{
color.xyz += bloom * BloomAmount;
}