Git Product home page Git Product logo

Comments (6)

shelllee avatar shelllee commented on July 29, 2024 1

Offset的意义是啥?

假如一个shader的queue可能是Geometry-100,也可能是Transparent-100
但现在切换预设的时候,只能切换到Gemmetry或Transparent的preset;即使手动调了值,切换配置的时候也会被覆盖,就需要手动再指定一遍
再者基于现有的preset体系,创建一套新的preset配置也能实现,但为这么个功能就创建一个preset是否太浪费
PS:若是我理解有误的话就关掉吧

这种情况是希望把Offset作为单独的参数设为-100, 且不添加到preset中, 以实现Geometry或Transparent都带-100的偏移?

是的

抱歉放假没看github,才看到消息

from lwgui.

JasonMa0012 avatar JasonMa0012 commented on July 29, 2024

Offset的意义是啥?

from lwgui.

shelllee avatar shelllee commented on July 29, 2024

Offset的意义是啥?

假如一个shader的queue可能是Geometry-100,也可能是Transparent-100

但现在切换预设的时候,只能切换到Gemmetry或Transparent的preset;即使手动调了值,切换配置的时候也会被覆盖,就需要手动再指定一遍

再者基于现有的preset体系,创建一套新的preset配置也能实现,但为这么个功能就创建一个preset是否太浪费

PS:若是我理解有误的话就关掉吧

from lwgui.

JasonMa0012 avatar JasonMa0012 commented on July 29, 2024

image
image
可以在preset里面指定queue

from lwgui.

shelllee avatar shelllee commented on July 29, 2024

image image 可以在preset里面指定queue

嗯,这个是知道的,上面的评论里有cover现有基于preset的方法

只是觉得加个offset的实现是不是就可以少维护一套preset配置?
再者unity本身也支持offset,版本兼容如何倒是没了解

from lwgui.

JasonMa0012 avatar JasonMa0012 commented on July 29, 2024

Offset的意义是啥?

假如一个shader的queue可能是Geometry-100,也可能是Transparent-100

但现在切换预设的时候,只能切换到Gemmetry或Transparent的preset;即使手动调了值,切换配置的时候也会被覆盖,就需要手动再指定一遍

再者基于现有的preset体系,创建一套新的preset配置也能实现,但为这么个功能就创建一个preset是否太浪费

PS:若是我理解有误的话就关掉吧

这种情况是希望把Offset作为单独的参数设为-100, 且不添加到preset中, 以实现Geometry或Transparent都带-100的偏移?

from lwgui.

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.