()
| 1158 | } |
| 1159 | |
| 1160 | function updateKeywords () { |
| 1161 | let displayKeywords = []; |
| 1162 | if (config.SHADING) displayKeywords.push("SHADING"); |
| 1163 | if (config.BLOOM) displayKeywords.push("BLOOM"); |
| 1164 | if (config.SUNRAYS) displayKeywords.push("SUNRAYS"); |
| 1165 | displayMaterial.setKeywords(displayKeywords); |
| 1166 | } |
| 1167 | |
| 1168 | updateKeywords(); |
| 1169 | initFramebuffers(); |