Giter VIP home page Giter VIP logo

Comments (4)

Excubitor avatar Excubitor commented on July 23, 2024

This seem to be the same problem as the texture won't show up in the closed treads. The strange thing is that the demo with the lightmaps work. But not the sample with the unity-tutorial (all black under windows-7 and chrome). Could it be some sort of lighting problem and not a texture problem?

from j3d.

Excubitor avatar Excubitor commented on July 23, 2024

I've tried in on Chrome on mac now and it works there. But not on Win7(64-bit) chrome (only black model). I have a hard time figuring out why. But I think the textures are loaded correctly, but the lighting isn't showing up. I base this on that even the rotating cube from the demos (the one without textures) are displayed black. Allthough some of the demos work. The lightmapped room works (win7/chrome) but not the lighting.

from j3d.

drojdjou avatar drojdjou commented on July 23, 2024

I have made several fixes to the J3D.Texture class and to the way textures are loaded. Hopefully it solves the problem.

from j3d.

drojdjou avatar drojdjou commented on July 23, 2024

Apparently on WIndows arrays are not supported in shaders. I used an array of lights, but now I change dit and it seems to be fixed (tested on Win 7, Chrome and Firefox)

from j3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.