bluekyu / render_pipeline_cpp

C++ Project of Panda3D Render Pipeline (Python)
https://github.com/bluekyu/render_pipeline_cpp
MIT License
11 stars 3 forks source link

Add unlit material #8

Closed bluekyu closed 6 years ago

bluekyu commented 7 years ago

This material should show original textures and be not shadowed.

No lighting

return vec3(0) in shade_material_from_tile_buffer() in lighting_pipeline.inc.glsl

No shadow

PSSM

result = 1; return; in main() in filter_pssm_shadows.frag.glsl

Sun shadow

result = scene_color; return; in main() in apply_sun_shading.frag.glsl

Ambient

...