mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 07:21:51 +00:00
GLSL 'include' support
This commit is contained in:
parent
e6ecd558a9
commit
a60cc70246
20 changed files with 238 additions and 35 deletions
|
|
@ -22,8 +22,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|||
SOFTWARE.
|
||||
*/
|
||||
|
||||
#version 330 core
|
||||
|
||||
// first, lets define some constants to use (planet radius, position, and scattering coefficients)
|
||||
#define PLANET_POS vec3(0.0) /* the position of the planet */
|
||||
#define PLANET_RADIUS 6371e3 /* radius of the planet */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue