tobspr / RenderPipeline

Physically Based Shading and Deferred Rendering for the Panda3D game engine
https://github.com/tobspr/RenderPipeline/wiki
Other
962 stars 132 forks source link

ShaderMeshTerrain does not work with RenderPipeline #101

Closed typewriter1 closed 6 years ago

typewriter1 commented 6 years ago

When using RenderPipeline together with ShaderMeshTerrain, the Panda3D window fails to open, without even giving an error message. The same code for ShaderMeshTerrain works perfectly when I comment out the RenderPipeline code.

tobspr commented 6 years ago

Have you checked https://github.com/tobspr/RenderPipeline-Samples/blob/master/08-Terrain/main.py ? This is an example showing how to use it with the RP.

typewriter1 commented 6 years ago

Adding the load_prc_file_data lines from the sample, and setting the effect to effects/terrain_effect fixes the problem. Thanks