Real-Time Rendering——5.3 Implementing Shading Models 实现着色模型 5.3.1 Frequency of Evaluation 计算的频率
Tobeuseful,theseshadingandlightingequationsmustofcoursebeimplementedincode.Inthissectionwewillgooversomekeyconsiderationsfordesigningandwritingsuchimplementations.Wewillalsowalkthroughasimpleimplement