From 39091cc6385e6253464900e436cd7e9c04409ce6 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 2 Dec 2008 22:51:39 -0700 Subject: demos: added simple vertex shader texture test. Draw a quadmesh where Z coord is taken from a texture map. --- progs/glsl/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'progs/glsl/Makefile') diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index 7c3e750..ab024ce 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -25,7 +25,8 @@ PROGS = \ texdemo1 \ toyball \ twoside \ - trirast + trirast \ + vert-tex ##### RULES ##### @@ -184,6 +185,12 @@ trirast: trirast.o shaderutil.o $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) trirast.o shaderutil.o $(LIBS) -o $@ +vert-tex.o: vert-tex.c extfuncs.h shaderutil.h + $(CC) -c -I$(INCDIR) $(CFLAGS) vert-tex.c + +vert-tex: vert-tex.o shaderutil.o + $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) vert-tex.o shaderutil.o $(LIBS) -o $@ + -- cgit v1.1