Shader特效——「Simple 3D Raymarch」的實現 【GLSL】

效果圖:ui GLSL代碼及註釋code #define EDGE_WIDTH 0.15 #define RAYMARCH_ITERATIONS 40 #define SHADOW_ITERATIONS 50 #define SHADOW_STEP 1.0 #define SHADOW_SMOOTHNESS 256.0 #define SHADOW_DARKNESS 0.75 uniform f
相關文章
相關標籤/搜索