mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 15:09:43 +00:00
shader fixes
This commit is contained in:
parent
dc3045c970
commit
164458dc56
6 changed files with 11 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
#version 120
|
||||
|
||||
#include "openmw_vertex.glsl"
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
centroid varying vec4 passColor;
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#version 120
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
#if @useUBO
|
||||
#extension GL_ARB_uniform_buffer_object : require
|
||||
#endif
|
||||
|
@ -10,6 +8,8 @@
|
|||
#extension GL_EXT_gpu_shader4: require
|
||||
#endif
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
#define GROUNDCOVER
|
||||
|
||||
attribute vec4 aOffset;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#version 120
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
#if @useUBO
|
||||
#extension GL_ARB_uniform_buffer_object : require
|
||||
#endif
|
||||
|
@ -10,6 +8,8 @@
|
|||
#extension GL_EXT_gpu_shader4: require
|
||||
#endif
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
#if @diffuseMap
|
||||
varying vec2 diffuseMapUV;
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#version 120
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
#if @useUBO
|
||||
#extension GL_ARB_uniform_buffer_object : require
|
||||
#endif
|
||||
|
@ -10,6 +8,8 @@
|
|||
#extension GL_EXT_gpu_shader4: require
|
||||
#endif
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
#if @diffuseMap
|
||||
varying vec2 diffuseMapUV;
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#version 120
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
#if @useUBO
|
||||
#extension GL_ARB_uniform_buffer_object : require
|
||||
#endif
|
||||
|
@ -10,6 +8,8 @@
|
|||
#extension GL_EXT_gpu_shader4: require
|
||||
#endif
|
||||
|
||||
#include "openmw_vertex.h.glsl"
|
||||
|
||||
varying vec2 uv;
|
||||
varying float euclideanDepth;
|
||||
varying float linearDepth;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#version 120
|
||||
|
||||
#include "openmw_fragment.h.glsl"
|
||||
|
||||
#if @useUBO
|
||||
#extension GL_ARB_uniform_buffer_object : require
|
||||
#endif
|
||||
|
@ -10,6 +8,8 @@
|
|||
#extension GL_EXT_gpu_shader4: require
|
||||
#endif
|
||||
|
||||
#include "openmw_fragment.h.glsl"
|
||||
|
||||
#define REFRACTION @refraction_enabled
|
||||
#define RAIN_RIPPLE_DETAIL @rain_ripple_detail
|
||||
|
||||
|
|
Loading…
Reference in a new issue