Giter Club home page Giter Club logo

Comments (5)

Hanggansta avatar Hanggansta commented on May 26, 2024

重要性采样的 fragment shader 生成 d维度 的第i 个sobol 数的代码有编译问题

from ezrt.

AKGWSB avatar AKGWSB commented on May 26, 2024

以前用的是 AMD 的核显,最近换了 N 卡才发现这个问题。把 GLSL 编译版本提升到 430,并且在初始化的时候使用无符号整数(比如:114514u)进行数组的初始化。具体的改动可以查看:51cf877

最新的改动已经提交到主分支,它将和 release 中的可执行文件保持一致

from ezrt.

AKGWSB avatar AKGWSB commented on May 26, 2024

如果仅仅是 implicit cast from "uint" to "bool" 可以将 if((i & 1)) 改为 if((i & 1)!=0)

from ezrt.

Hanggansta avatar Hanggansta commented on May 26, 2024

多谢老兄问题解决了,你的教程帮助我很多。

from ezrt.

AKGWSB avatar AKGWSB commented on May 26, 2024

不客气~

from ezrt.

Related Issues (3)

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.