Skip to content

Commit c845039

Browse files
committed
put shaders in separate package
1 parent bc2e3ec commit c845039

File tree

14 files changed

+13
-13
lines changed

14 files changed

+13
-13
lines changed

core/src/processing/opengl/PGraphicsOpenGL.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -149,32 +149,32 @@ public class PGraphicsOpenGL extends PGraphics {
149149
// Shaders
150150

151151
static protected URL defColorShaderVertURL =
152-
PGraphicsOpenGL.class.getResource("ColorVert.glsl");
152+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/ColorVert.glsl");
153153
static protected URL defTextureShaderVertURL =
154-
PGraphicsOpenGL.class.getResource("TextureVert.glsl");
154+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/TexVert.glsl");
155155
static protected URL defLightShaderVertURL =
156-
PGraphicsOpenGL.class.getResource("LightVert.glsl");
156+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/LightVert.glsl");
157157
static protected URL defTexlightShaderVertURL =
158-
PGraphicsOpenGL.class.getResource("TexlightVert.glsl");
158+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/TexlightVert.glsl");
159159
static protected URL defColorShaderFragURL =
160-
PGraphicsOpenGL.class.getResource("ColorFrag.glsl");
160+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/ColorFrag.glsl");
161161
static protected URL defTextureShaderFragURL =
162-
PGraphicsOpenGL.class.getResource("TextureFrag.glsl");
162+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/TexFrag.glsl");
163163
static protected URL defLightShaderFragURL =
164-
PGraphicsOpenGL.class.getResource("LightFrag.glsl");
164+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/LightFrag.glsl");
165165
static protected URL defTexlightShaderFragURL =
166-
PGraphicsOpenGL.class.getResource("TexlightFrag.glsl");
166+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/TexlightFrag.glsl");
167167

168168
static protected URL defLineShaderVertURL =
169-
PGraphicsOpenGL.class.getResource("LineVert.glsl");
169+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/LineVert.glsl");
170170
static protected URL defLineShaderFragURL =
171-
PGraphicsOpenGL.class.getResource("LineFrag.glsl");
171+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/LineFrag.glsl");
172172
static protected URL defPointShaderVertURL =
173-
PGraphicsOpenGL.class.getResource("PointVert.glsl");
173+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/PointVert.glsl");
174174
static protected URL defPointShaderFragURL =
175-
PGraphicsOpenGL.class.getResource("PointFrag.glsl");
175+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/PointFrag.glsl");
176176
static protected URL maskShaderFragURL =
177-
PGraphicsOpenGL.class.getResource("MaskFrag.glsl");
177+
PGraphicsOpenGL.class.getResource("/processing/opengl/shaders/MaskFrag.glsl");
178178

179179
protected PShader defColorShader;
180180
protected PShader defTextureShader;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)