ebruneton / precomputed_atmospheric_scattering

This project provides a new implementation of our EGSR 2008 paper "Precomputed Atmospheric Scattering".
BSD 3-Clause "New" or "Revised" License
908 stars 120 forks source link

create shader failed #12

Closed chena1982 closed 7 years ago

chena1982 commented 7 years ago

my os is win10 64bit, use vs2017. i use the cmake to generate project, the generate_project.bat has some error. when i run the demo, create the shader failed. 0x000001b15f5084e0 "0(16) : error C0000: syntax error, unexpected identifier, expecting \"::\" at token \"AtmosphereParameters\"\n"

model.cc line 1030 std::string header = glsl_headerfactory(lambdas); it like the shader source text(header) is wrong.

how to solve this? Thanks.