acf3db7a06
Fix for https://github.com/bkaradzic/bgfx/issues/1227 . It gets texture slot from compiled shaders and maps it to Sampler uniform. So sampler uniform MUST be defined before using shader (shadowmap_simple has a bug with invalid uniform name). |
||
---|---|---|
.. | ||
fs_sms_mesh_pd.sc | ||
fs_sms_mesh.sc | ||
fs_sms_shadow_pd.sc | ||
fs_sms_shadow.sc | ||
fs_sms_shadow.sh | ||
makefile | ||
screenshot.png | ||
shadowmaps_simple.cpp | ||
varying.def.sc | ||
vs_sms_mesh.sc | ||
vs_sms_shadow_pd.sc | ||
vs_sms_shadow.sc |