mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-06 19:01:21 +03:00
GLES2 experiment
This commit is contained in:
parent
2d894fde57
commit
1e7cf4ae1c
6 changed files with 15 additions and 7 deletions
2
extern/shiny/Docs/Materials.dox
vendored
2
extern/shiny/Docs/Materials.dox
vendored
|
@ -87,6 +87,8 @@
|
|||
Now, let's get into writing our shader! As you can guess from above, the filename should be 'example.shader'.
|
||||
Make sure to also copy the 'core.h' file to the same location. It is included in shiny's source tree under 'Extra/'.
|
||||
|
||||
Important: a newline at the end of the file is <b>required</b>. Many editors do this automatically or can be configured to do so. If there is no newline at the end of the file, and the last line is '#endif', you will get the rather cryptic error message " ill formed preprocessor directive: #endif" from boost::wave.
|
||||
|
||||
\code
|
||||
#include "core.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue