Giter Site home page Giter Site logo

Comments (4)

hecomi avatar hecomi commented on July 23, 2024

Are you using the generated material with the RaymarchingRenderer component? The line o.pos = v.vertex means that the rectangle generated by that component at runtime will be rendered to (-1, -1) ~(+1, +1) in screen space without any MVP matrix multiplication. So we don't expect to use UnityObjectToClipPos() here. What settings (Unity version, rendering pipeline, scene settings) are you using?

from uraymarching.

Phylliida avatar Phylliida commented on July 23, 2024

Yes, the generated material. This "cutout" effect is happening in the unity editor for me (editor camera and game camera), using legacy pipeline DX11, tweaking distance function of hexagon example and only changing it so Full Screen is On and Camera Inside Object True, made scale of Cube transform larger (30x30x30), Unity 2020.3.7f1.

from uraymarching.

hecomi avatar hecomi commented on July 23, 2024

If you just change the checkbox, the result will look like this:

image

If you want to see it in full screen, please use the RaymarchingRenderer component as instructed in the documentation.

If you are already using it, please give me a screenshot of your settings and results so that I can better identify the problem.

from uraymarching.

Phylliida avatar Phylliida commented on July 23, 2024

Ah, nice I had missed that, thank you :) Your screenshot is showing the issue I was having, I will switch to using using the quad

from uraymarching.

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.