Files
ozone-tech_owl_prime/.cursor/rules/webgl-performance-budget.mdc
2026-07-04 12:33:20 +02:00

16 lines
582 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: Lightweight WebGL budget and 2D fallback requirements
alwaysApply: true
---
# WebGL Performance Budget Rules
- 3D-сцена должна быть lightweight.
- Использовать простые геометрии.
- Ограничить количество объектов.
- Не использовать дорогие shadows/postprocessing.
- Не использовать тяжёлые texture maps.
- Должен быть 2D fallback.
- На mobile должен быть simplified/fallback mode.
- Не должно быть horizontal scroll.