()
| 5286 | } |
| 5287 | |
| 5288 | public static void beginWater() |
| 5289 | { |
| 5290 | if (isRenderingWorld) |
| 5291 | { |
| 5292 | if (!isShadowPass) |
| 5293 | { |
| 5294 | renderDeferred(); |
| 5295 | useProgram(ProgramWater); |
| 5296 | GlStateManager.enableBlend(); |
| 5297 | GlStateManager.depthMask(true); |
| 5298 | } |
| 5299 | else |
| 5300 | { |
| 5301 | GlStateManager.depthMask(true); |
| 5302 | } |
| 5303 | } |
| 5304 | } |
| 5305 | |
| 5306 | public static void endWater() |
| 5307 | { |
no test coverage detected