2022-07-09 20:21:48 +00:00
|
|
|
#ifndef OPENMW_FRAGMENT_H_GLSL
|
|
|
|
#define OPENMW_FRAGMENT_H_GLSL
|
|
|
|
|
2022-04-24 15:29:16 +00:00
|
|
|
@link "openmw_fragment.glsl" if !@useOVR_multiview
|
|
|
|
@link "openmw_fragment_multiview.glsl" if @useOVR_multiview
|
2022-04-26 17:54:24 +00:00
|
|
|
|
|
|
|
vec4 mw_sampleReflectionMap(vec2 uv);
|
|
|
|
|
|
|
|
#if @refraction_enabled
|
|
|
|
vec4 mw_sampleRefractionMap(vec2 uv);
|
|
|
|
float mw_sampleRefractionDepthMap(vec2 uv);
|
2022-05-14 01:58:00 +00:00
|
|
|
#endif
|
|
|
|
|
2022-07-09 20:21:48 +00:00
|
|
|
vec4 mw_samplerLastShader(vec2 uv);
|
|
|
|
|
|
|
|
#if @skyBlending
|
|
|
|
vec3 mw_sampleSkyColor(vec2 uv);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // OPENMW_FRAGMENT_H_GLSL
|