Added support for vertex shaders in sf::Shader
Rewrote the Shader example
This commit is contained in:
parent
4d0a6a299a
commit
c9b87ec8a9
20 changed files with 893 additions and 486 deletions
|
@ -2,7 +2,9 @@
|
|||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/shader)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Shader.cpp)
|
||||
set(SRC
|
||||
${SRCROOT}/Effect.hpp
|
||||
${SRCROOT}/Shader.cpp)
|
||||
|
||||
# define the shader target
|
||||
sfml_add_example(shader GUI_APP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue