Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(uint i=0;i<MAX_LIGHT_TEXTURES;i++) {
- if (i>=light_count) {
- break;
- }
- uint light_base;
- if (i<8) {
- if (i<4) {
- light_base=draw_data.lights[0];
- } else {
- light_base=draw_data.lights[1];
- }
- } else {
- if (i<12) {
- light_base=draw_data.lights[2];
- } else {
- light_base=draw_data.lights[3];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement