TES Skyrim 0.265
Forum rules
new topics are not allowed in this subsection, only replies.
new topics are not allowed in this subsection, only replies.
- Author
- Message
-
Offline
- *blah-blah-blah maniac*
- Posts: 1938
- Joined: 05 Mar 2012, 02:08
Re: TES Skyrim 0.265
Yeah I did a typo there, totally missed the float4 inclusion there.
-
Offline
- *blah-blah-blah maniac*
- Posts: 849
- Joined: 28 Dec 2011, 00:50
Re: TES Skyrim 0.265
Thanks guys, will try again.
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
-
Offline
- *blah-blah-blah maniac*
- Posts: 849
- Joined: 28 Dec 2011, 00:50
Re: TES Skyrim 0.265
Unfortunately I am still getting a CTD when loading any save game. I have added the following near the other GUI parameters in my enbeffect.fx file:
Any ideas...?
Code: Select all
bool SWITCH_BLOOM <
string UIName = "Switch Bloom";
> = {false};
float4 xcolorbloom=0;
if (SWITCH_BLOOM == true)
{
xcolorbloom = tex2D(_s3, _v0.xy); // ENB bloom
}
else if ( (SWITCH_BLOOM == false)
{
xcolorbloom = tex2D(_s1, _v0.xy); // Vanilla bloom
}
Any ideas...?
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
-
Offline
- *blah-blah-blah maniac*
- Posts: 3137
- Joined: 27 Jan 2012, 13:42
Re: TES Skyrim 0.265
At least you have one extra bracket after 'else if' statement, should be:
Also make sure xcolorbloom is not declared again further down in the code.
Code: Select all
else if (SWITCH_BLOOM == false)
-
Offline
- *blah-blah-blah maniac*
- Posts: 849
- Joined: 28 Dec 2011, 00:50
Re: TES Skyrim 0.265
@Mindflux
Thanks, I actually spotted that after making my previous post and removed the first '(' ... but still no luck :/
To be clear, I now have:
Thanks, I actually spotted that after making my previous post and removed the first '(' ... but still no luck :/
To be clear, I now have:
Code: Select all
bool SWITCH_BLOOM <
string UIName = "Switch Bloom";
> = {false};
float4 xcolorbloom=0;
if (SWITCH_BLOOM == true)
{
xcolorbloom = tex2D(_s3, _v0.xy); // ENB bloom
}
else if (SWITCH_BLOOM == false)
{
xcolorbloom = tex2D(_s1, _v0.xy); // Vanilla bloom
}
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
-
Offline
- *blah-blah-blah maniac*
- Posts: 3137
- Joined: 27 Jan 2012, 13:42
Re: TES Skyrim 0.265
A second thought, I don't think it can work that way because the sampler _s3 and float4 _v0 are declared later down in the code. If you want to use GUI, you should probably make a helper switch there and then perform the actual switch later in the code.
A quick cig, and then as follows... put this part in the GUI section:
Then find the xcolorbloom declaration in the code, comment it out and paste this snippet after it:
Then get ready to rock'n roll
A quick cig, and then as follows... put this part in the GUI section:
Code: Select all
bool SWITCH_BLOOM < string UIName = "ENB Bloom";> = {false};
Code: Select all
float4 xcolorbloom=0;
if (SWITCH_BLOOM == true)
{
xcolorbloom = tex2D(_s3, _v0.xy); // ENB bloom
}
else
{
xcolorbloom = tex2D(_s1, _v0.xy); // Vanilla bloom
}
-
Offline
- *blah-blah-blah maniac*
- Posts: 849
- Joined: 28 Dec 2011, 00:50
Re: TES Skyrim 0.265
Hallelujah, that worked! Thanks a billion.
Looks like I'll have to use a different ENB config for my bloom demo video, as NLA's weather .esp sends vanilla bloom through the STRATOSPHERE
Looks like I'll have to use a different ENB config for my bloom demo video, as NLA's weather .esp sends vanilla bloom through the STRATOSPHERE
_________________
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
Fallout 4 ENB Video Series | Skyrim ENB Video Series | My YouTube Channel
Intel i7-4700HQ @ 2.4GHz | NVidia GTX780M 4GB | 24GB RAM
-
Offline
- *blah-blah-blah maniac*
- Posts: 3137
- Joined: 27 Jan 2012, 13:42
Re: TES Skyrim 0.265
Great to hear! Haha yeah that happens I figure with pretty much every config, you can't revert to vanilla bloom by simply using it as a texture, so many different variables at play...
-
Offline
- *blah-blah-blah maniac*
- Posts: 1938
- Joined: 05 Mar 2012, 02:08
Re: TES Skyrim 0.265
Use a multiplying variable then.
Code: Select all
float fBloomMult <
string UIName="Bloom Intensity"; string UIWidget="Spinner"; float UIMin=0.0; float UIMax=10.0;
> = {1.0};
----
xcolorbloom = tex2D(_s1, _v0.xy);
color.rgb += xcolorbloom.xyz * fBloomMult;
-
Offline
- *blah-blah-blah maniac*
- Posts: 3137
- Joined: 27 Jan 2012, 13:42
Re: TES Skyrim 0.265
ENB controls in enbseries.ini and in the weather specific files will also work.