Phong Material
2016-03-08 16:15:12 0 举报
PC phong shader tree
作者其他创作
大纲/内容
addRefraction
applyAmbientapply Materialambient
Color
Yes
DiffuseLight
afterRefraction
feature
End
ShaderTree
AO&!Occulde Direct Lighting
addLightMap
Alpha & Alpha Test
ComputeFog factor
ApplyLighting and Shadow
need Refraction
No
AO&Occulde Direct Lighting
occludeSpecular
getEmissive
整体的渲染顺序
SpecularLight
AO&occlude Specular
gl_FragColor
Alpha
PhongMaterial
Ambient & light map
Start
Color Combine
Emissive
Albedo
Reflection
getAlbedo
Fog Mixing
Metalness processing
applyAO
updateFresnel
Specularity
Realtime lighting and Shadow
Fog
addReflection
getAlpha and Alpha Test
getSpefularity
收藏
0 条评论
下一页