Reshade error x3004

Error x3004 undeclared identifier [SOLVED] Error X3004 (Fbordercolor) Maniac Topic Author Offline 7 years 1 month ago #1 by Maniac Error X3004 (Fbordercolor) was created by Maniac The following error has just started appearing on my Elder Scrolls Online startup «. Reshade.fx (323, 32) Error X3004 Undeclared Identifier «fBorderColor» and I cant activate Reshade/Mediator […]

Содержание

  1. Error x3004 undeclared identifier
  2. Error x3004 undeclared identifier
  3. Error x3004 undeclared identifier
  4. Material Compile Error X3004 Fragment Shader #318
  5. Comments
  6. Footer

Error x3004 undeclared identifier

[SOLVED] Error X3004 (Fbordercolor)

  • Maniac
  • Topic Author
  • Offline

7 years 1 month ago #1 by Maniac Error X3004 (Fbordercolor) was created by Maniac

The following error has just started appearing on my Elder Scrolls Online startup
«. Reshade.fx (323, 32) Error X3004 Undeclared Identifier «fBorderColor» and I cant activate Reshade/Mediator with Scroll Lock key either.

I am using Reshade 0.19.2. The only thing I have done recently is mess around with Witcher 3 settings using Framework Mediator. I then downloaded latest version of Reshade (1.1), to try it with Witcher 3, but I couldn’t get it to work for some reason, so then deleted it and was going to continue using version 0.19.2 again. In the meantime I have just loaded ESO, and I am now getting the error. I didn’t touch or use ESO(or its settings) whilst messing around with Witcher 3 settings, so unsure what has happened.?

Please Log in or Create an account to join the conversation.

7 years 1 month ago #2 by crosire Replied by crosire on topic Error X3004 (Fbordercolor)

Please Log in or Create an account to join the conversation.

  • Maniac
  • Topic Author
  • Offline

7 years 1 month ago #3 by Maniac Replied by Maniac on topic Error X3004 (Fbordercolor)

Please Log in or Create an account to join the conversation.

Источник

Error x3004 undeclared identifier

Error x3000, x3004 DotA 2

  • keegz
  • Topic Author
  • Offline

6 years 11 months ago #1 by keegz Error x3000, x3004 DotA 2 was created by keegz

When i launch dota, it says loading effect and then these two errors in the upper left corner:
E:Program Files (x86)Steamsteamappscommondota 2 betagamebinwin64Sweet.fx(236, 35): error X3004: undeclared identifier ‘ReShade_Start_Enabled’
E:Program Files (x86)Steamsteamappscommondota 2 betagamebinwin64Sweet.fx(236, 56): error X3000: syntax error: unexpected ‘;’, expected ‘<‘

I really have no idea whats causing this but heres what the d3d9.log says when i open it:
08/02/2016 19:44:24:741 [00668] | INFO | Initializing crosire’s ReShade version ‘1.1.0.963’ built on ‘2015-11-07 11:58:17’ loaded from «E:Program Files (x86)Steamsteamappscommondota 2 betagamebinwin64d3d9.dll» to «E:Program Files (x86)Steamsteamappscommondota 2 betagamebinwin64dota2.exe» .
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32d3d8.dll» .
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32d3d9.dll» .
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32d3d10.dll» .
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32d3d10_1.dll» .
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32d3d11.dll» .
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32d3d12.dll» .
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32dxgi.dll» .
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32opengl32.dll» .
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32user32.dll» .
08/02/2016 19:44:24:808 [00668] | INFO | > Libraries loaded.
08/02/2016 19:44:24:817 [00668] | INFO | > Found 5 match(es). Installing .
08/02/2016 19:44:24:899 [00668] | INFO | > Installed 5 hook(s).
08/02/2016 19:44:24:899 [00668] | INFO | Registering hooks for «C:WINDOWSsystem32ws2_32.dll» .
08/02/2016 19:44:24:899 [00668] | INFO | > Libraries loaded.
08/02/2016 19:44:24:901 [00668] | INFO | > Found 8 match(es). Installing .
08/02/2016 19:44:25:033 [00668] | INFO | > Installed 8 hook(s).
08/02/2016 19:44:25:033 [00668] | INFO | Initialized.
08/02/2016 19:44:25:093 [00668] | INFO | Redirecting ‘Direct3DCreate9Ex(32, 0000005452FFD938)’ .
08/02/2016 19:44:25:097 [00668] | INFO | Installing delayed hooks for «C:WINDOWSsystem32d3d9.dll» .
08/02/2016 19:44:25:097 [00668] | INFO | > Found 9 match(es). Installing .
08/02/2016 19:44:25:097 [00668] | INFO | > Installed 9 hook(s).
08/02/2016 19:44:25:121 [00668] | INFO | Installing delayed hooks for «C:WINDOWSsystem32dxgi.dll» (Just loaded via ‘LoadLibraryW(«C:WINDOWSsystem32nvapi64.dll»)’) .
08/02/2016 19:44:25:122 [00668] | INFO | > Found 7 match(es). Installing .
08/02/2016 19:44:25:246 [00668] | INFO | > Installed 7 hook(s).
08/02/2016 19:44:25:256 [00668] | INFO | Redirecting ‘CreateDXGIFactory1(<7b7166ec-21c7-44ae-b21a-c9ae321ae369>, 0000005452FFD140)’ .
08/02/2016 19:44:25:291 [00668] | INFO | Redirecting ‘IDirect3D9::CreateDevice(000000546B011B20, 0, 1, 0000000000600622, 0x56, 00007FFA705AC958, 0000005452FFD470)’ .
08/02/2016 19:44:25:733 [00668] | INFO | Recreated runtime environment on runtime 000000546B1850C0.
08/02/2016 19:44:26:084 [00668] | INFO | Redirecting ‘RegisterClassA(00007FFA73A97CF0)’ .
08/02/2016 19:44:26:084 [00668] | INFO | > Adding ‘CS_OWNDC’ window class style flag to ‘Surface’.
08/02/2016 19:44:34:756 [00564] | INFO | Loading effect from «E:Program Files (x86)Steamsteamappscommondota 2 betagamebinwin64ReShade.fx» .
08/02/2016 19:44:35:462 [00564] | ERROR | Failed to compile effect on context 000000546B1850C0:

E:Program Files (x86)Steamsteamappscommondota 2 betagamebinwin64Sweet.fx(236, 35): error X3004: undeclared identifier ‘ReShade_Start_Enabled’
E:Program Files (x86)Steamsteamappscommondota 2 betagamebinwin64Sweet.fx(236, 56): error X3000: syntax error: unexpected ‘;’, expected ‘<‘

Any help would be greatly appreciated as it is quite annoying and won’t even go away off the screen.

Please Log in or Create an account to join the conversation.

6 years 11 months ago #2 by SpinelessJelly Replied by SpinelessJelly on topic Error x3000, x3004 DotA 2

The following user(s) said Thank You: keegz

Please Log in or Create an account to join the conversation.

  • keegz
  • Topic Author
  • Offline

6 years 11 months ago —

6 years 11 months ago #3 by keegz Replied by keegz on topic Error x3000, x3004 DotA 2

Please Log in or Create an account to join the conversation.

6 years 11 months ago —

6 years 11 months ago #4 by SpinelessJelly Replied by SpinelessJelly on topic Error x3000, x3004 DotA 2

Please Log in or Create an account to join the conversation.

  • keegz
  • Topic Author
  • Offline

6 years 11 months ago #5 by keegz Replied by keegz on topic Error x3000, x3004 DotA 2

Please Log in or Create an account to join the conversation.

6 years 11 months ago #6 by SpinelessJelly Replied by SpinelessJelly on topic Error x3000, x3004 DotA 2

Please Log in or Create an account to join the conversation.

Источник

Error x3004 undeclared identifier

Shadow of Mordor error X3004

  • TDK
  • Topic Author
  • Offline

7 years 3 months ago #1 by TDK Shadow of Mordor error X3004 was created by TDK

I followed the instructions by the autor here:

but doesn’t work:
«Bloom.h(10, 24): error X3004: undeclared identifier ‘BloomWidth’»

Please Log in or Create an account to join the conversation.

7 years 3 months ago #2 by matsilagi Replied by matsilagi on topic Shadow of Mordor error X3004

That’s because it’s meant to be used with a old version of mastereffect and not with SweetFX.

I will see if i can get its values to work with the framework later.

Please Log in or Create an account to join the conversation.

  • TDK
  • Topic Author
  • Offline

7 years 3 months ago #3 by TDK Replied by TDK on topic Shadow of Mordor error X3004

After various tests, i get this message when game starts:

Compiling effect . Succeeded!
Unable to load source for texture ‘texNoise’! Unable to load source for texture ‘texDirt’! Unable to load source for texture ‘texLust’!

What does that mean?

Please Log in or Create an account to join the conversation.

7 years 3 months ago #4 by matsilagi Replied by matsilagi on topic Shadow of Mordor error X3004

Please Log in or Create an account to join the conversation.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Источник

Material Compile Error X3004 Fragment Shader #318

Tried to build in latest git version to test this out: 8efdc60

Now I’m getting this error: Material_mesh.frag.hlsl(34,49-60): error X3004: undeclared identifier ‘gl_FragCoord’

The text was updated successfully, but these errors were encountered:

Hm, it looks like you are using Direct3D renderer. Will have to handle it differently there. Or is this happening even on default settings(OpenGL)? Maybe a bug in Armory triggering wrong graphics api somehow.

Hmm, now I’m not sure. I think I may have pulled from Git incorrectly? I followed this: http://armory3d.org/manual/dev/gitversion.html

I believe I am on the default settings. I haven’t switched any renderer settings as far I as I know.

EDIT:
Noob question here. Should have I built the git pull or will changes automatically work?

Okay I did a build to windows with OpenGL through Visual Studio and it seems to work. The compile error happens when you press play in viewport. So not sure what happens there.

No need to build the git pull, changes will work automatically.

Argh, I know the cause. There is a regression in latest Kha which prevents setting a graphics api for Krom player. Using Kha from Build 14 should work.

Build 14 also has an experimental updater in User Preferences. — Add-ons — Armory , which can pull the repositories for you. You would still need to revert Kha to Build 14, sorry for trouble. :/

Ah thanks, I was looking for that, couldn’t see where it was. I’ll give it another go soon.

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Аватара пользователя

Пользователь

Сообщения: 860

Уже час не могу понять в чем причина:

float2 ScreenMult = GetPostProcessInputSize(0).xy;

Выдает: Error [SM5] error X3004: undeclared identifier ‘GetPostProcessInputSize’

Тут же рядом в этом же материале есть нода, которая содержит GetPostProcessInputSize(0) и всё компилируется. В чем может быть проблема?
Создаю новый материал, пишу GetPostProcessInputSize(0).xy и снова ошибка.

p.s. ругается вообще на любой hlsl код.

_________________

https://www.facebook.com/groups/uejob/

Последний раз редактировалось Andy_rst 02 мар 2016, 12:33, всего редактировалось 1 раз.

Аватара пользователя

Пользователь

Сообщения: 860

Аватара пользователя

Пользователь

Сообщения: 474

может дело в типе данных которые передается в эмисив колор , при передаче через лерп скорее всего передается float3 (лерп преобразование типа данных нужное сам делает), а во втором случае ты напрямую впихиваешь float4
пс: это только предположения ,я особо с этим вообще не сталкивался )

Аватара пользователя

Пользователь

Сообщения: 860

Zhernovoy Sergey писал(а):

может дело в типе данных которые передается в эмисив колор , при передаче через лерп скорее всего передается float3 (лерп преобразование типа данных нужное сам делает), а во втором случае ты напрямую впихиваешь float4
пс: это только предположения ,я особо с этим вообще не сталкивался )

Он на любой код HLSL ругается с ошибкой X3004. Что-то поломалось внутри UE. Но не знаю, как починить. Попробую DervedDataCashe удалаить, но это я попаду на перекомпиляцию всех! шейдеров всех проектов =(

_________________

https://www.facebook.com/groups/uejob/

Аватара пользователя

Пользователь

Сообщения: 860

Аватара пользователя

Пользователь

Сообщения: 860

Аватара пользователя

Пользователь

Сообщения: 860

Вообщем разобрался. Custom node должна быть связана с SceneTexture:PostProcessInput0. В противном случае при компиляции, hlsl компилер не понимает откуда брать данные для GetPostProcessInputSize(0).

Соответственно, если используются GetPostProcessInputSize(1), GetPostProcessInputSize(2) и т.д. надо учитывать.

_________________

https://www.facebook.com/groups/uejob/

Последний раз редактировалось Andy_rst 03 мар 2016, 07:04, всего редактировалось 1 раз.

Аватара пользователя

Пользователь

Сообщения: 1297

Аватара пользователя

Пользователь

Сообщения: 860

Аватара пользователя

Пользователь

Сообщения: 860

Failed to link shader program: cs_border_solid
C:fakepath(606,1-4): error X3004: undeclared identifier 's849'

Failing shader:

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include shared,ellipse

#define DONT_MIX 0
#define MIX_AA 1
#define MIX_NO_AA 2

// For edges, the colors are the same. For corners, these
// are the colors of each edge making up the corner.
flat varying vec4 vColor0;
flat varying vec4 vColor1;

// A point + tangent defining the line where the edge
// transition occurs. Used for corners only.
flat varying vec4 vColorLine;

// A boolean indicating that we should be mixing between edge colors.
flat varying int vMixColors;

// xy = Local space position of the clip center.
// zw = Scale the rect origin by this to get the outer
// corner from the segment rectangle.
flat varying vec4 vClipCenter_Sign;

// An outer and inner elliptical radii for border
// corner clipping.
flat varying vec4 vClipRadii;

// Position, scale, and radii of horizontally and vertically adjacent corner clips.
flat varying vec4 vHorizontalClipCenter_Sign;
flat varying vec2 vHorizontalClipRadii;
flat varying vec4 vVerticalClipCenter_Sign;
flat varying vec2 vVerticalClipRadii;

// Local space position
varying vec2 vPos;

#define SEGMENT_TOP_LEFT        0
#define SEGMENT_TOP_RIGHT       1
#define SEGMENT_BOTTOM_RIGHT    2
#define SEGMENT_BOTTOM_LEFT     3

#ifdef WR_VERTEX_SHADER

in vec2 aTaskOrigin;
in vec4 aRect;
in vec4 aColor0;
in vec4 aColor1;
in int aFlags;
in vec2 aWidths;
in vec2 aRadii;
in vec4 aHorizontallyAdjacentCorner;
in vec4 aVerticallyAdjacentCorner;

vec2 get_outer_corner_scale(int segment) {
    vec2 p;

    switch (segment) {
        case SEGMENT_TOP_LEFT:
            p = vec2(0.0, 0.0);
            break;
        case SEGMENT_TOP_RIGHT:
            p = vec2(1.0, 0.0);
            break;
        case SEGMENT_BOTTOM_RIGHT:
            p = vec2(1.0, 1.0);
            break;
        case SEGMENT_BOTTOM_LEFT:
            p = vec2(0.0, 1.0);
            break;
        default:
            // The result is only used for non-default segment cases
            p = vec2(0.0);
            break;
    }

    return p;
}

void main(void) {
    int segment = aFlags & 0xff;
    bool do_aa = ((aFlags >> 24) & 0xf0) != 0;

    vec2 outer_scale = get_outer_corner_scale(segment);
    vec2 outer = outer_scale * aRect.zw;
    vec2 clip_sign = 1.0 - 2.0 * outer_scale;

    int mix_colors;
    switch (segment) {
        case SEGMENT_TOP_LEFT:
        case SEGMENT_TOP_RIGHT:
        case SEGMENT_BOTTOM_RIGHT:
        case SEGMENT_BOTTOM_LEFT:
            mix_colors = do_aa ? MIX_AA : MIX_NO_AA;
            break;
        default:
            mix_colors = DONT_MIX;
            break;
    }

    vMixColors = mix_colors;
    vPos = aRect.zw * aPosition.xy;

    vColor0 = aColor0;
    vColor1 = aColor1;
    vClipCenter_Sign = vec4(outer + clip_sign * aRadii, clip_sign);
    vClipRadii = vec4(aRadii, max(aRadii - aWidths, 0.0));
    vColorLine = vec4(outer, aWidths.y * -clip_sign.y, aWidths.x * clip_sign.x);

    vec2 horizontal_clip_sign = vec2(-clip_sign.x, clip_sign.y);
    vHorizontalClipCenter_Sign = vec4(aHorizontallyAdjacentCorner.xy +
                                      horizontal_clip_sign * aHorizontallyAdjacentCorner.zw,
                                      horizontal_clip_sign);
    vHorizontalClipRadii = aHorizontallyAdjacentCorner.zw;

    vec2 vertical_clip_sign = vec2(clip_sign.x, -clip_sign.y);
    vVerticalClipCenter_Sign = vec4(aVerticallyAdjacentCorner.xy +
                                    vertical_clip_sign * aVerticallyAdjacentCorner.zw,
                                    vertical_clip_sign);
    vVerticalClipRadii = aVerticallyAdjacentCorner.zw;

    gl_Position = uTransform * vec4(aTaskOrigin + aRect.xy + vPos, 0.0, 1.0);
}
#endif

#ifdef WR_FRAGMENT_SHADER
void main(void) {
    float aa_range = compute_aa_range(vPos);
    bool do_aa = vMixColors != MIX_NO_AA;

    float mix_factor = 0.0;
    if (vMixColors != DONT_MIX) {
        float d_line = distance_to_line(vColorLine.xy, vColorLine.zw, vPos);
        if (do_aa) {
            mix_factor = distance_aa(aa_range, -d_line);
        } else {
            mix_factor = d_line + EPSILON >= 0. ? 1.0 : 0.0;
        }
    }

    // Check if inside main corner clip-region
    vec2 clip_relative_pos = vPos - vClipCenter_Sign.xy;
    bool in_clip_region = all(lessThan(vClipCenter_Sign.zw * clip_relative_pos, vec2(0.0)));

    float d = -1.0;
    if (in_clip_region) {
        float d_radii_a = distance_to_ellipse(clip_relative_pos, vClipRadii.xy, aa_range);
        float d_radii_b = distance_to_ellipse(clip_relative_pos, vClipRadii.zw, aa_range);
        d = max(d_radii_a, -d_radii_b);
    }

    // And again for horizontally-adjacent corner
    clip_relative_pos = vPos - vHorizontalClipCenter_Sign.xy;
    in_clip_region = all(lessThan(vHorizontalClipCenter_Sign.zw * clip_relative_pos, vec2(0.0)));
    if (in_clip_region) {
        float d_radii = distance_to_ellipse(clip_relative_pos, vHorizontalClipRadii.xy, aa_range);
        d = max(d_radii, d);
    }

    // And finally for vertically-adjacent corner
    clip_relative_pos = vPos - vVerticalClipCenter_Sign.xy;
    in_clip_region = all(lessThan(vVerticalClipCenter_Sign.zw * clip_relative_pos, vec2(0.0)));
    if (in_clip_region) {
        float d_radii = distance_to_ellipse(clip_relative_pos, vVerticalClipRadii.xy, aa_range);
        d = max(d_radii, d);
    }

    float alpha = do_aa ? distance_aa(aa_range, d) : 1.0;
    vec4 color = mix(vColor0, vColor1, mix_factor);
    oFragColor = color * alpha;
}
#endif

ANGLE output:

// GLSL
//
// #version 300 es
// // cs_border_solid
// #define WR_VERTEX_SHADER
// #define WR_MAX_VERTEX_TEXTURE_WIDTH 1024U
// /* This Source Code Form is subject to the terms of the Mozilla Public
//  * License, v. 2.0. If a copy of the MPL was not distributed with this
//  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// 
// /* This Source Code Form is subject to the terms of the Mozilla Public
//  * License, v. 2.0. If a copy of the MPL was not distributed with this
//  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// 
// #ifdef WR_FEATURE_TEXTURE_EXTERNAL
// // Please check https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external_essl3.txt
// // for this extension.
// #extension GL_OES_EGL_image_external_essl3 : require
// #endif
// 
// #ifdef WR_FEATURE_DUAL_SOURCE_BLENDING
// #extension GL_ARB_explicit_attrib_location : require
// #endif
// 
// /* This Source Code Form is subject to the terms of the Mozilla Public
//  * License, v. 2.0. If a copy of the MPL was not distributed with this
//  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// 
// #if defined(GL_ES)
//     #if GL_ES == 1
//         #ifdef GL_FRAGMENT_PRECISION_HIGH
//         precision highp sampler2DArray;
//         #else
//         precision mediump sampler2DArray;
//         #endif
// 
//         // Sampler default precision is lowp on mobile GPUs.
//         // This causes RGBA32F texture data to be clamped to 16 bit floats on some GPUs (e.g. Mali-T880).
//         // Define highp precision macro to allow lossless FLOAT texture sampling.
//         #define HIGHP_SAMPLER_FLOAT highp
// 
//         // texelFetchOffset is buggy on some Android GPUs (see issue #1694).
//         // Fallback to texelFetch on mobile GPUs.
//         #define TEXEL_FETCH(sampler, position, lod, offset) texelFetch(sampler, position + offset, lod)
//     #else
//         #define HIGHP_SAMPLER_FLOAT
//         #define TEXEL_FETCH(sampler, position, lod, offset) texelFetchOffset(sampler, position, lod, offset)
//     #endif
// #else
//     #define HIGHP_SAMPLER_FLOAT
//     #define TEXEL_FETCH(sampler, position, lod, offset) texelFetchOffset(sampler, position, lod, offset)
// #endif
// 
// #ifdef WR_VERTEX_SHADER
//     #define varying out
// #endif
// 
// #ifdef WR_FRAGMENT_SHADER
//     precision highp float;
//     #define varying in
// #endif
// 
// #if defined(WR_FEATURE_TEXTURE_EXTERNAL) || defined(WR_FEATURE_TEXTURE_RECT) || defined(WR_FEATURE_TEXTURE_2D)
// #define TEX_SAMPLE(sampler, tex_coord) texture(sampler, tex_coord.xy)
// #else
// #define TEX_SAMPLE(sampler, tex_coord) texture(sampler, tex_coord)
// #endif
// 
// //======================================================================================
// // Vertex shader attributes and uniforms
// //======================================================================================
// #ifdef WR_VERTEX_SHADER
//     // A generic uniform that shaders can optionally use to configure
//     // an operation mode for this batch.
//     uniform int uMode;
// 
//     // Uniform inputs
//     uniform mat4 uTransform;       // Orthographic projection
// 
//     // Attribute inputs
//     in vec3 aPosition;
// 
//     // get_fetch_uv is a macro to work around a macOS Intel driver parsing bug.
//     // TODO: convert back to a function once the driver issues are resolved, if ever.
//     // https://github.com/servo/webrender/pull/623
//     // https://github.com/servo/servo/issues/13953
//     // Do the division with unsigned ints because that's more efficient with D3D
//     #define get_fetch_uv(i, vpi)  ivec2(int(vpi * (uint(i) % (WR_MAX_VERTEX_TEXTURE_WIDTH/vpi))), int(uint(i) / (WR_MAX_VERTEX_TEXTURE_WIDTH/vpi)))
// #endif
// 
// //======================================================================================
// // Fragment shader attributes and uniforms
// //======================================================================================
// #ifdef WR_FRAGMENT_SHADER
//     // Uniform inputs
// 
//     // Fragment shader outputs
//     #ifdef WR_FEATURE_DUAL_SOURCE_BLENDING
//         layout(location = 0, index = 0) out vec4 oFragColor;
//         layout(location = 0, index = 1) out vec4 oFragBlend;
//     #else
//         out vec4 oFragColor;
//     #endif
// 
//     #define EPSILON                     0.0001
// 
//     // "Show Overdraw" color. Premultiplied.
//     #define WR_DEBUG_OVERDRAW_COLOR     vec4(0.110, 0.077, 0.027, 0.125)
// 
//     float distance_to_line(vec2 p0, vec2 perp_dir, vec2 p) {
//         vec2 dir_to_p0 = p0 - p;
//         return dot(normalize(perp_dir), dir_to_p0);
//     }
// 
//     /// Find the appropriate half range to apply the AA approximation over.
//     /// This range represents a coefficient to go from one CSS pixel to half a device pixel.
//     float compute_aa_range(vec2 position) {
//         // The constant factor is chosen to compensate for the fact that length(fw) is equal
//         // to sqrt(2) times the device pixel ratio in the typical case. 0.5/sqrt(2) = 0.35355.
//         //
//         // This coefficient is chosen to ensure that any sample 0.5 pixels or more inside of
//         // the shape has no anti-aliasing applied to it (since pixels are sampled at their center,
//         // such a pixel (axis aligned) is fully inside the border). We need this so that antialiased
//         // curves properly connect with non-antialiased vertical or horizontal lines, among other things.
//         //
//         // Lines over a half-pixel away from the pixel center *can* intersect with the pixel square;
//         // indeed, unless they are horizontal or vertical, they are guaranteed to. However, choosing
//         // a nonzero area for such pixels causes noticeable artifacts at the junction between an anti-
//         // aliased corner and a straight edge.
//         //
//         // We may want to adjust this constant in specific scenarios (for example keep the principled
//         // value for straight edges where we want pixel-perfect equivalence with non antialiased lines
//         // when axis aligned, while selecting a larger and smoother aa range on curves).
//         return 0.35355 * length(fwidth(position));
//     }
// 
//     /// Return the blending coefficient for distance antialiasing.
//     ///
//     /// 0.0 means inside the shape, 1.0 means outside.
//     ///
//     /// This cubic polynomial approximates the area of a 1x1 pixel square under a
//     /// line, given the signed Euclidean distance from the center of the square to
//     /// that line. Calculating the *exact* area would require taking into account
//     /// not only this distance but also the angle of the line. However, in
//     /// practice, this complexity is not required, as the area is roughly the same
//     /// regardless of the angle.
//     ///
//     /// The coefficients of this polynomial were determined through least-squares
//     /// regression and are accurate to within 2.16% of the total area of the pixel
//     /// square 95% of the time, with a maximum error of 3.53%.
//     ///
//     /// See the comments in `compute_aa_range()` for more information on the
//     /// cutoff values of -0.5 and 0.5.
//     float distance_aa(float aa_range, float signed_distance) {
//         float dist = 0.5 * signed_distance / aa_range;
//         if (dist <= -0.5 + EPSILON)
//             return 1.0;
//         if (dist >= 0.5 - EPSILON)
//             return 0.0;
//         return 0.5 + dist * (0.8431027 * dist * dist - 1.14453603);
//     }
// 
//     /// Component-wise selection.
//     ///
//     /// The idea of using this is to ensure both potential branches are executed before
//     /// selecting the result, to avoid observable timing differences based on the condition.
//     ///
//     /// Example usage: color = if_then_else(LessThanEqual(color, vec3(0.5)), vec3(0.0), vec3(1.0));
//     ///
//     /// The above example sets each component to 0.0 or 1.0 independently depending on whether
//     /// their values are below or above 0.5.
//     ///
//     /// This is written as a macro in order to work with vectors of any dimension.
//     ///
//     /// Note: Some older android devices don't support mix with bvec. If we ever run into them
//     /// the only option we have is to polyfill it with a branch per component.
//     #define if_then_else(cond, then_branch, else_branch) mix(else_branch, then_branch, cond)
// #endif
// 
// //======================================================================================
// // Shared shader uniforms
// //======================================================================================
// #ifdef WR_FEATURE_TEXTURE_2D
// uniform sampler2D sColor0;
// uniform sampler2D sColor1;
// uniform sampler2D sColor2;
// #elif defined WR_FEATURE_TEXTURE_RECT
// uniform sampler2DRect sColor0;
// uniform sampler2DRect sColor1;
// uniform sampler2DRect sColor2;
// #elif defined WR_FEATURE_TEXTURE_EXTERNAL
// uniform samplerExternalOES sColor0;
// uniform samplerExternalOES sColor1;
// uniform samplerExternalOES sColor2;
// #else
// uniform sampler2DArray sColor0;
// uniform sampler2DArray sColor1;
// uniform sampler2DArray sColor2;
// #endif
// 
// #ifdef WR_FEATURE_DITHERING
// uniform sampler2D sDither;
// #endif
// 
// //======================================================================================
// // Interpolator definitions
// //======================================================================================
// 
// //======================================================================================
// // VS only types and UBOs
// //======================================================================================
// 
// //======================================================================================
// // VS only functions
// //======================================================================================
// /* This Source Code Form is subject to the terms of the Mozilla Public
//  * License, v. 2.0. If a copy of the MPL was not distributed with this
//  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// 
// #ifdef WR_FRAGMENT_SHADER
// 
// // One iteration of Newton's method on the 2D equation of an ellipse:
// //
// //     E(x, y) = x^2/a^2 + y^2/b^2 - 1
// //
// // The Jacobian of this equation is:
// //
// //     J(E(x, y)) = [ 2*x/a^2 2*y/b^2 ]
// //
// // We approximate the distance with:
// //
// //     E(x, y) / ||J(E(x, y))||
// //
// // See G. Taubin, "Distance Approximations for Rasterizing Implicit
// // Curves", section 3.
// float distance_to_ellipse(vec2 p, vec2 radii, float aa_range) {
//     float dist;
//     if (any(lessThanEqual(radii, vec2(0.0)))) {
//         dist = length(p);
//     } else {
//         vec2 invRadiiSq = 1.0 / (radii * radii);
//         float g = dot(p * p * invRadiiSq, vec2(1.0)) - 1.0;
//         vec2 dG = 2.0 * p * invRadiiSq;
//         dist = g * inversesqrt(dot(dG, dG));
//     }
//     return clamp(dist, -aa_range, aa_range);
// }
// 
// float clip_against_ellipse_if_needed(
//     vec2 pos,
//     float current_distance,
//     vec4 ellipse_center_radius,
//     vec2 sign_modifier,
//     float aa_range
// ) {
//     if (!all(lessThan(sign_modifier * pos, sign_modifier * ellipse_center_radius.xy))) {
//       return current_distance;
//     }
// 
//     float distance = distance_to_ellipse(pos - ellipse_center_radius.xy,
//                                          ellipse_center_radius.zw,
//                                          aa_range);
// 
//     return max(distance, current_distance);
// }
// 
// float rounded_rect(vec2 pos,
//                    vec4 clip_center_radius_tl,
//                    vec4 clip_center_radius_tr,
//                    vec4 clip_center_radius_br,
//                    vec4 clip_center_radius_bl,
//                    float aa_range) {
//     // Start with a negative value (means "inside") for all fragments that are not
//     // in a corner. If the fragment is in a corner, one of the clip_against_ellipse_if_needed
//     // calls below will update it.
//     float current_distance = -aa_range;
// 
//     // Clip against each ellipse.
//     current_distance = clip_against_ellipse_if_needed(pos,
//                                                       current_distance,
//                                                       clip_center_radius_tl,
//                                                       vec2(1.0),
//                                                       aa_range);
// 
//     current_distance = clip_against_ellipse_if_needed(pos,
//                                                       current_distance,
//                                                       clip_center_radius_tr,
//                                                       vec2(-1.0, 1.0),
//                                                       aa_range);
// 
//     current_distance = clip_against_ellipse_if_needed(pos,
//                                                       current_distance,
//                                                       clip_center_radius_br,
//                                                       vec2(-1.0),
//                                                       aa_range);
// 
//     current_distance = clip_against_ellipse_if_needed(pos,
//                                                       current_distance,
//                                                       clip_center_radius_bl,
//                                                       vec2(1.0, -1.0),
//                                                       aa_range);
// 
//     // Apply AA
//     // See comment in ps_border_corner about the choice of constants.
// 
//     return distance_aa(aa_range, current_distance);
// }
// #endif
// 
// #define DONT_MIX 0
// #define MIX_AA 1
// #define MIX_NO_AA 2
// 
// // For edges, the colors are the same. For corners, these
// // are the colors of each edge making up the corner.
// flat varying vec4 vColor0;
// flat varying vec4 vColor1;
// 
// // A point + tangent defining the line where the edge
// // transition occurs. Used for corners only.
// flat varying vec4 vColorLine;
// 
// // A boolean indicating that we should be mixing between edge colors.
// flat varying int vMixColors;
// 
// // xy = Local space position of the clip center.
// // zw = Scale the rect origin by this to get the outer
// // corner from the segment rectangle.
// flat varying vec4 vClipCenter_Sign;
// 
// // An outer and inner elliptical radii for border
// // corner clipping.
// flat varying vec4 vClipRadii;
// 
// // Position, scale, and radii of horizontally and vertically adjacent corner clips.
// flat varying vec4 vHorizontalClipCenter_Sign;
// flat varying vec2 vHorizontalClipRadii;
// flat varying vec4 vVerticalClipCenter_Sign;
// flat varying vec2 vVerticalClipRadii;
// 
// // Local space position
// varying vec2 vPos;
// 
// #define SEGMENT_TOP_LEFT        0
// #define SEGMENT_TOP_RIGHT       1
// #define SEGMENT_BOTTOM_RIGHT    2
// #define SEGMENT_BOTTOM_LEFT     3
// 
// #ifdef WR_VERTEX_SHADER
// 
// in vec2 aTaskOrigin;
// in vec4 aRect;
// in vec4 aColor0;
// in vec4 aColor1;
// in int aFlags;
// in vec2 aWidths;
// in vec2 aRadii;
// in vec4 aHorizontallyAdjacentCorner;
// in vec4 aVerticallyAdjacentCorner;
// 
// vec2 get_outer_corner_scale(int segment) {
//     vec2 p;
// 
//     switch (segment) {
//         case SEGMENT_TOP_LEFT:
//             p = vec2(0.0, 0.0);
//             break;
//         case SEGMENT_TOP_RIGHT:
//             p = vec2(1.0, 0.0);
//             break;
//         case SEGMENT_BOTTOM_RIGHT:
//             p = vec2(1.0, 1.0);
//             break;
//         case SEGMENT_BOTTOM_LEFT:
//             p = vec2(0.0, 1.0);
//             break;
//         default:
//             // The result is only used for non-default segment cases
//             p = vec2(0.0);
//             break;
//     }
// 
//     return p;
// }
// 
// void main(void) {
//     int segment = aFlags & 0xff;
//     bool do_aa = ((aFlags >> 24) & 0xf0) != 0;
// 
//     vec2 outer_scale = get_outer_corner_scale(segment);
//     vec2 outer = outer_scale * aRect.zw;
//     vec2 clip_sign = 1.0 - 2.0 * outer_scale;
// 
//     int mix_colors;
//     switch (segment) {
//         case SEGMENT_TOP_LEFT:
//         case SEGMENT_TOP_RIGHT:
//         case SEGMENT_BOTTOM_RIGHT:
//         case SEGMENT_BOTTOM_LEFT:
//             mix_colors = do_aa ? MIX_AA : MIX_NO_AA;
//             break;
//         default:
//             mix_colors = DONT_MIX;
//             break;
//     }
// 
//     vMixColors = mix_colors;
//     vPos = aRect.zw * aPosition.xy;
// 
//     vColor0 = aColor0;
//     vColor1 = aColor1;
//     vClipCenter_Sign = vec4(outer + clip_sign * aRadii, clip_sign);
//     vClipRadii = vec4(aRadii, max(aRadii - aWidths, 0.0));
//     vColorLine = vec4(outer, aWidths.y * -clip_sign.y, aWidths.x * clip_sign.x);
// 
//     vec2 horizontal_clip_sign = vec2(-clip_sign.x, clip_sign.y);
//     vHorizontalClipCenter_Sign = vec4(aHorizontallyAdjacentCorner.xy +
//                                       horizontal_clip_sign * aHorizontallyAdjacentCorner.zw,
//                                       horizontal_clip_sign);
//     vHorizontalClipRadii = aHorizontallyAdjacentCorner.zw;
// 
//     vec2 vertical_clip_sign = vec2(clip_sign.x, -clip_sign.y);
//     vVerticalClipCenter_Sign = vec4(aVerticallyAdjacentCorner.xy +
//                                     vertical_clip_sign * aVerticallyAdjacentCorner.zw,
//                                     vertical_clip_sign);
//     vVerticalClipRadii = aVerticallyAdjacentCorner.zw;
// 
//     gl_Position = uTransform * vec4(aTaskOrigin + aRect.xy + vPos, 0.0, 1.0);
// }
// #endif
// 
// #ifdef WR_FRAGMENT_SHADER
// void main(void) {
//     float aa_range = compute_aa_range(vPos);
//     bool do_aa = vMixColors != MIX_NO_AA;
// 
//     float mix_factor = 0.0;
//     if (vMixColors != DONT_MIX) {
//         float d_line = distance_to_line(vColorLine.xy, vColorLine.zw, vPos);
//         if (do_aa) {
//             mix_factor = distance_aa(aa_range, -d_line);
//         } else {
//             mix_factor = d_line + EPSILON >= 0. ? 1.0 : 0.0;
//         }
//     }
// 
//     // Check if inside main corner clip-region
//     vec2 clip_relative_pos = vPos - vClipCenter_Sign.xy;
//     bool in_clip_region = all(lessThan(vClipCenter_Sign.zw * clip_relative_pos, vec2(0.0)));
// 
//     float d = -1.0;
//     if (in_clip_region) {
//         float d_radii_a = distance_to_ellipse(clip_relative_pos, vClipRadii.xy, aa_range);
//         float d_radii_b = distance_to_ellipse(clip_relative_pos, vClipRadii.zw, aa_range);
//         d = max(d_radii_a, -d_radii_b);
//     }
// 
//     // And again for horizontally-adjacent corner
//     clip_relative_pos = vPos - vHorizontalClipCenter_Sign.xy;
//     in_clip_region = all(lessThan(vHorizontalClipCenter_Sign.zw * clip_relative_pos, vec2(0.0)));
//     if (in_clip_region) {
//         float d_radii = distance_to_ellipse(clip_relative_pos, vHorizontalClipRadii.xy, aa_range);
//         d = max(d_radii, d);
//     }
// 
//     // And finally for vertically-adjacent corner
//     clip_relative_pos = vPos - vVerticalClipCenter_Sign.xy;
//     in_clip_region = all(lessThan(vVerticalClipCenter_Sign.zw * clip_relative_pos, vec2(0.0)));
//     if (in_clip_region) {
//         float d_radii = distance_to_ellipse(clip_relative_pos, vVerticalClipRadii.xy, aa_range);
//         d = max(d_radii, d);
//     }
// 
//     float alpha = do_aa ? distance_aa(aa_range, d) : 1.0;
//     vec4 color = mix(vColor0, vColor1, mix_factor);
//     oFragColor = color * alpha;
// }
// #endif


float2 vec2(float x0, float x1)
{
    return float2(x0, x1);
}
float4 vec4(float2 x0, float x1, float x2)
{
    return float4(x0, x1, x2);
}
float4 vec4(float2 x0, float2 x1)
{
    return float4(x0, x1);
}
// Uniforms

uniform float4x4 _uTransform : register(c0);
#ifdef ANGLE_ENABLE_LOOP_FLATTEN
#define LOOP [loop]
#define FLATTEN [flatten]
#else
#define LOOP
#define FLATTEN
#endif
// Attributes
static float4 _aColor0 = {0, 0, 0, 0};
static float4 _aColor1 = {0, 0, 0, 0};
static int _aFlags = {0};
static float4 _aHorizontallyAdjacentCorner = {0, 0, 0, 0};
static float3 _aPosition = {0, 0, 0};
static float2 _aRadii = {0, 0};
static float4 _aRect = {0, 0, 0, 0};
static float2 _aTaskOrigin = {0, 0};
static float4 _aVerticallyAdjacentCorner = {0, 0, 0, 0};
static float2 _aWidths = {0, 0};

static float4 gl_Position = float4(0, 0, 0, 0);

// Varyings
static nointerpolation float4 _vClipCenter_Sign = {0, 0, 0, 0};
static nointerpolation float4 _vClipRadii = {0, 0, 0, 0};
static nointerpolation float4 _vColor0 = {0, 0, 0, 0};
static nointerpolation float4 _vColor1 = {0, 0, 0, 0};
static nointerpolation float4 _vColorLine = {0, 0, 0, 0};
static nointerpolation float4 _vHorizontalClipCenter_Sign = {0, 0, 0, 0};
static nointerpolation float2 _vHorizontalClipRadii = {0, 0};
static nointerpolation int _vMixColors = {0};
static  float2 _vPos = {0, 0};
static nointerpolation float4 _vVerticalClipCenter_Sign = {0, 0, 0, 0};
static nointerpolation float2 _vVerticalClipRadii = {0, 0};

cbuffer DriverConstants : register(b1)
{
    float4 dx_ViewAdjust : packoffset(c1);
    float2 dx_ViewCoords : packoffset(c2);
    float2 dx_ViewScale  : packoffset(c3);
};

;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
float2 f_get_outer_corner_scale(in int _segment)
{
float2 _p = {0, 0};
switch (_segment) {
case (0):
(_p = float2(0.0, 0.0));
break;
;
case (1):
(_p = float2(1.0, 0.0));
break;
;
case (2):
(_p = float2(1.0, 1.0));
break;
;
case (3):
(_p = float2(0.0, 1.0));
break;
;
default:
(_p = float2(0.0, 0.0));
break;
;
}
;
return _p;
;
}
;
void gl_main()
{
int _segment = (_aFlags & 255);
bool _do_aa = (((_aFlags >> 24) & 240) != 0);
float2 _outer_scale = f_get_outer_corner_scale(_segment);
float2 _outer = (_outer_scale * _aRect.zw);
float2 _clip_sign = (1.0 - (2.0 * _outer_scale));
int _mix_colors = {0};
switch (_segment) {
case (0):
case (1):
case (2):
case (3):
s849;
if (_do_aa)
{
(s849 = 1);
}
else
{
(s849 = 2);
}
(_mix_colors = s849);
break;
;
default:
(_mix_colors = 0);
break;
;
}
;
(_vMixColors = _mix_colors);
(_vPos = (_aRect.zw * _aPosition.xy));
(_vColor0 = _aColor0);
(_vColor1 = _aColor1);
(_vClipCenter_Sign = vec4((_outer + (_clip_sign * _aRadii)), _clip_sign));
(_vClipRadii = vec4(_aRadii, max((_aRadii - _aWidths), 0.0)));
(_vColorLine = vec4(_outer, (_aWidths.y * (-_clip_sign.y)), (_aWidths.x * _clip_sign.x)));
float2 _horizontal_clip_sign = vec2((-_clip_sign.x), _clip_sign.y);
(_vHorizontalClipCenter_Sign = vec4((_aHorizontallyAdjacentCorner.xy + (_horizontal_clip_sign * _aHorizontallyAdjacentCorner.zw)), _horizontal_clip_sign));
(_vHorizontalClipRadii = _aHorizontallyAdjacentCorner.zw);
float2 _vertical_clip_sign = vec2(_clip_sign.x, (-_clip_sign.y));
(_vVerticalClipCenter_Sign = vec4((_aVerticallyAdjacentCorner.xy + (_vertical_clip_sign * _aVerticallyAdjacentCorner.zw)), _vertical_clip_sign));
(_vVerticalClipRadii = _aVerticallyAdjacentCorner.zw);
(gl_Position = mul(transpose(_uTransform), vec4(((_aTaskOrigin + _aRect.xy) + _vPos), 0.0, 1.0)));
}
;

struct VS_INPUT
{
    float3 _aPosition : TEXCOORD0;
    float2 _aTaskOrigin : TEXCOORD1;
    float4 _aRect : TEXCOORD2;
    float4 _aColor0 : TEXCOORD3;
    float4 _aColor1 : TEXCOORD4;
    int _aFlags : TEXCOORD5;
    float2 _aWidths : TEXCOORD6;
    float2 _aRadii : TEXCOORD7;
    float4 _aHorizontallyAdjacentCorner : TEXCOORD8;
    float4 _aVerticallyAdjacentCorner : TEXCOORD9;
};

void initAttributes(VS_INPUT input)
{
    _aPosition = input._aPosition;
    _aTaskOrigin = input._aTaskOrigin;
    _aRect = input._aRect;
    _aColor0 = input._aColor0;
    _aColor1 = input._aColor1;
    _aFlags = input._aFlags;
    _aWidths = input._aWidths;
    _aRadii = input._aRadii;
    _aHorizontallyAdjacentCorner = input._aHorizontallyAdjacentCorner;
    _aVerticallyAdjacentCorner = input._aVerticallyAdjacentCorner;
}

struct VS_OUTPUT
{
    float4 dx_Position : SV_Position;
    float4 gl_Position : TEXCOORD11;
    nointerpolation float4 v0 : TEXCOORD0;
    nointerpolation float4 v1 : TEXCOORD1;
    nointerpolation float4 v2 : TEXCOORD2;
    nointerpolation float4 v3 : TEXCOORD3;
    nointerpolation float4 v4 : TEXCOORD4;
    nointerpolation float4 v5 : TEXCOORD5;
    nointerpolation float4 v6 : TEXCOORD6;
    nointerpolation float2 v7 : TEXCOORD7;
    float2 v8 : TEXCOORD8;
    nointerpolation float2 v9 : TEXCOORD9;
    nointerpolation int v10 : TEXCOORD10;
};

VS_OUTPUT main(VS_INPUT input)
{
    initAttributes(input);

    gl_main();

    VS_OUTPUT output;
    output.gl_Position = gl_Position;
    output.dx_Position.x = gl_Position.x;
    output.dx_Position.y = - gl_Position.y;
    output.dx_Position.z = (gl_Position.z + gl_Position.w) * 0.5;
    output.dx_Position.w = gl_Position.w;
    output.v0 = _vClipCenter_Sign;
    output.v1 = _vClipRadii;
    output.v2 = _vColor0;
    output.v3 = _vColor1;
    output.v4 = _vColorLine;
    output.v5 = _vHorizontalClipCenter_Sign;
    output.v6 = _vVerticalClipCenter_Sign;
    output.v7 = _vHorizontalClipRadii;
    output.v8 = _vPos;
    output.v9 = _vVerticalClipRadii;
    output.v10 = _vMixColors;

    return output;
}


#791

Posted 26 June 2015 — 10:33 pm

pixero

    Stranger

  • Members
  • Pip
  • 4 posts

In response to post #26374694. #26376409 is also a reply to the same post.

Didn’t work for me , I tried many things to fix it … I failed. It was unplayable for me, unuslal textures in sky for example.

Uninstalled :(

PD: «Fantasy v3.0 Ultimate» worked perfectly (:

  • Back to top


#792



ManiACE

Posted 27 June 2015 — 10:48 am

ManiACE

    Stranger

  • Members
  • Pip
  • 1 posts

In response to post #26374694. #26376409, #26446794 are all replies on the same post.

You need to change this file:

The Witcher 3 Wild Huntbinx64ReShadeCustomFXColorCorrection.h

Edit it with notepad and change file just like MrEntropic suggested.

  • Back to top


#793



Posted 27 June 2015 — 08:00 pm

OK so I can’t get the latest version to work at all.

Drogean, could you please upload the complete set of files so we don’t have to struggle?

  • Back to top


#794



vancaula

Posted 28 June 2015 — 01:26 am

vancaula

    Stranger

  • Members
  • Pip
  • 1 posts

So I just installed this for the first time ever and it’s totally broken…looks like garbage.

  • Back to top


#795



Ball11

Posted 28 June 2015 — 07:03 am

In response to post #26479234.

gotta install anything before 9 then install 9+

  • Back to top


#796



MasterGunRun

Posted 29 June 2015 — 02:37 am

MasterGunRun

    Journeyman

  • Premium Member
  • 48 posts

HELP PLEASE. i watched the video on how to intall the latest version but the files in it are diffrent that actualy show up in the ReShade Zip. the folders that i get are ReShade(folder), Reshade FrameworkMediator.exe, ReShade64.dll (and the 32 version), ReShade.fx, README.txt EULA.txt and the jpeg picture. did i get the wrong download?

  • Back to top


#797



riden17

Posted 29 June 2015 — 07:31 am

riden17

    Stranger

  • Members
  • Pip
  • 1 posts

HI

i have this error

ReShadeSweetFXSharedShaderFilmicpass.h(9, 13) : error x3004: undeclared identifier ‘Linearization’

how can i to fix it

  • Back to top


#798



cyxou

Posted 29 June 2015 — 01:19 pm

Guys if I use V7, in game need turn off Bloom or no?

  • Back to top


#799



Phantommy555

Posted 30 June 2015 — 03:51 am

Phantommy555

    Stranger

  • Premium Member
  • 7 posts

After some problems I got it to work the only problem is that I can’t tell if my game looks any different, its been a couple weeks since I played so I don’t remember exactly how it looked before but I’m not sure its changed all that much. Suggestions?

  • Back to top


#800



Phantommy555

Posted 30 June 2015 — 04:12 am

Phantommy555

    Stranger

  • Premium Member
  • 7 posts

In response to post #26544174.

Nvm I got it to work but now the colors are too bright and the sky is so blue its an eyesore.

  • Back to top

Hello I have some error
Shaders not load. What to do?
I have latest reshade, dx11
shaders that i downloaded with your file. Please help

06:21:05:313 [19216] | ERROR | Failed to load «D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx»:
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(5, 1): preprocessor error: could not open included file ‘D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersReShadeUI.fxh’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(30, 1): preprocessor error: could not open included file ‘D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersReShade.fxh’

06:21:05:313 [19216] | ERROR | Failed to compile «D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx»:
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(5, 1): preprocessor error: could not open included file ‘D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersReShadeUI.fxh’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(30, 1): preprocessor error: could not open included file ‘D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersReShade.fxh’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(8, 1): error X3000: syntax error: unexpected ‘identifier’, expected ‘=’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(12, 1): error X3000: syntax error: unexpected ‘identifier’, expected ‘=’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(17, 1): error X3000: syntax error: unexpected ‘identifier’, expected ‘=’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(20, 1): error X3000: syntax error: unexpected ‘identifier’, expected ‘=’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(23, 1): error X3000: syntax error: unexpected ‘identifier’, expected ‘=’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(27, 1): error X3000: syntax error: unexpected ‘identifier’, expected ‘=’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(45, 22): error X3004: undeclared identifier ‘ReShade::BackBuffer’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(45, 41): error X3000: syntax error: unexpected ‘,’, expected expression
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersDPX.fx(69, 16): error X3501: undeclared identifier ‘PostProcessVS’, expected function name

06:21:05:313 [19216] | ERROR | Failed to load «D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersFu-Bama CA for YACA.fx»:
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersFu-Bama CA for YACA.fx(39, 1): preprocessor error: could not open included file ‘D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersReShade.fxh’

06:21:05:314 [19216] | ERROR | Failed to compile «D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersFu-Bama CA for YACA.fx»:
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersFu-Bama CA for YACA.fx(39, 1): preprocessor error: could not open included file ‘D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersReShade.fxh’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersFu-Bama CA for YACA.fx(54, 16): error X3004: undeclared identifier ‘ReShade::AspectRatio’
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersFu-Bama CA for YACA.fx(54, 36): error X3000: syntax error: unexpected ‘;’, expected expression
D:GamesEuro Truck Simulator 2binwin_x64reshade-shadersShadersFu-Bama CA for YACA.fx(114, 16): error X3501: undeclared identifier ‘PostProcessVS’, expected function name

Понравилась статья? Поделить с друзьями:
  • Requests exceptions httperror 403 client error forbidden
  • Requesting tempdecal wad from server error server failed to transmit file customization
  • Requesting shsh 3utools ошибка
  • Requesterror getaddrinfo enotfound rdmr delivery network3 react group ошибка на радмире
  • Requesterror getaddrinfo enotfound rdmr delivery network3 react group как исправить