GithubHelp home page GithubHelp logo

Comments (5)

RyanDunagan7899 avatar RyanDunagan7899 commented on July 21, 2024

I've just discovered that rotating the main camera in the Mendelbulb scene will cause a similar freeze of the editor.

from ray-marching.

sliterok avatar sliterok commented on July 21, 2024

I guess that's something to do with the amount of computation required to render such scene. I was monitoring my gpu usage while moving camera in the Mendelbulb scene and at the moment of freeze gpu usage rocketed to 100%

from ray-marching.

RyanDunagan7899 avatar RyanDunagan7899 commented on July 21, 2024

@sliterok The same GPU usage spike occurs on my 1080Ti, however I did some further testing and found out that if I disable the FractalMaster script on the camera, move the camera coordinates away from where it is located in the scene and re-enable it, the crash in editor also occurs.

GPU Spike

Oddly enough, Unity will still exit just fine using the X in the top left to close the application without need for a force close via task manager.

I've been looking at the Fractal Compute Shader code to see if there was anything that stood out as something that could be cleaned up, but I've only just begun learning shader programming, so I don't think I'm the man for the job.

from ray-marching.

SebLague avatar SebLague commented on July 21, 2024

I've added a max march step count to the mandelbulb shader, which will hopefully resolve this. Please let me know if it's still crashing and I'll reopen the issue.

from ray-marching.

nachoskywalker avatar nachoskywalker commented on July 21, 2024

Hello Seb and others. I am having a similar problem. I have a compute shader under unity which is helping me to calculate some data to acelerate marching shadows. In the moment I increase the internal loops a little bit the compute is not slower. It just gets frozen. Do you know if there is a limit in the internal loops in a shader or maybe a limit in time or something. Its really hard to debug the problem. Thanks a lot!! :)

from ray-marching.

Related Issues (6)

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.