JustalK/PORTFOLIO

View on GitHub
src/materials/image.js

Summary

Maintainability
A
3 hrs
Test Coverage

Showing 2 of 2 total issues

Function fragmentShader has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

fragmentShader: () => {
return `
uniform sampler2D uTexture;
uniform sampler2D uTexture2;
uniform vec2 uResolution;
Severity: Major
Found in src/materials/image.js - About 2 hrs to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    module.exports = {
    vertexShader: () => {
    return `
    varying vec2 vUv;
    uniform float uTime;
    Severity: Minor
    Found in src/materials/image.js and 1 other location - About 40 mins to fix
    src/materials/fog.js on lines 1..73

    There are no issues that match your filters.

    Category
    Status