Giter Site home page Giter Site logo

lwgui's People

Contributors

dawncxzz avatar jasonma0012 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lwgui's Issues

Title在2022.3.8失效了

Ttitle无法显示,可能和引擎默认属性冲突了。调试无法断点,应该是反射失败了。
改成MyTitle即可显示。

Unity Version / Unity版本

  • 2022.3.8

Support for float2 / float3 UI

Hello, would it be possible to add support for float2/float3 UI as it is confusing for the final user to have unused extra values ?
e.g.
[Sub(g)] _Offset ("Offset", vector) = (0, 0)
or
[Sub(g)][float2] _Offset ("Offset", vector) = (0, 0, 0, 0)
...

image

image

Thanks a lot for your work !

[建议]对Group关键字支持与或非

希望能够支持根据一个或多个判断条件(Group)显示/隐藏参数的功能

比如某个参数(如Intensity)希望能够在不同的KeyEnum条件下复用(||或逻辑),或通某个参数的显示需要满足过多个条件(&&并逻辑)

痛点在于,切换KeyEnum之后,在上一KeyEnum下Check但已不渲染的subtoggle仍然会使仅适用于上一KeyEnum的参数被渲染

Support for ShaderGraph or ASE

hello
this is David from Amplify support. aka Dawie
in ASE discord someone suggested you are looking to intergrade more into ASE
drawer files and GUI are very easy to add using ASE

if you have any issues or trouble, feel free to contact me in the official ASE discord.
keep up the good work.

[Tex] not displaying the associated text

I'm not able to display the associated text with a texture when there's no extra property.

[Main(gProperties, _, on, off)] _gProperties ("Properties", float) = 0
[Tex(gProperties)] _baseMap ("Albedo", 2D) = "white" { }

Screenshots
image

Unity Version

  • 2022.3.12

Thanks

RampTexture缺少alpha通道

  • unity2019.4.34f1

  • 默认ramp创建出来没有alpha,编辑alpha关键帧后保存也没有
    image

  • 修改创建texture时的默认关键帧,使alpha不全为1就有alpha通道了,编辑后的alpha也能保存
    image
    image

globalIlluminationFlags

目前是否支持材质的globalIlluminationFlags切换,自发光需要设置这个为MaterialGlobalIlluminationFlags.BakedEmissive才能烘焙。

Preset支持_QueueOffset

material.renderQueue += material.HasProperty("_QueueOffset") ? (int) material.GetFloat("_QueueOffset") : 0;

Enum() fails to display the drop-down selection of Enums when it is a Sub() of a group

When an Enum() property is the child of a drawer, the enum values do not display as expected.

For example, the following property properly nests under Main(GroupAdv):
[Enum(Off,0,On,1)] [Sub(GroupAdv)] _ZWrite ("ZWrite Mode", Float) = 1
But the Enum property does not show the drop-down selection of enums.
Unity_BrokenEnum_Grouped

If I instead use the following property setup:
[Enum(Off,0,On,1)] _ZWrite ("ZWrite Mode", Float) = 1
The ZWrite property behaves as expected and is no longer nested within the group.
Unity_WorkingEnum_NotGrouped

I am using the latest release of LWGUI (v1.4.0) with Unity v2019.4.31f1.

Second and subsequent Groups do not work , when two or more groups with partially identical names exist.

Describe the bug / 描述你遇到的Bug
If two or more groups with partially identical names exist, the second and subsequent groups do not work.

To Reproduce / 复现步骤

  1. Declare following ShaderProperties in the shader.
Properties
{
    [Main(Group_Color, _, off, off)] _groupColor ("カラー設定", float) = 1
    [Sub(Group_Color)] _Stencil ("Stencil", Int) = 0
 
    [Main(Group_ColorSettings, _, off, off)] _groupColorVariation ("カラバリ設定", float) = 1
    [Sub(Group_ColorSettings)] _MainTex ("Texture", 2D) = "white" {}
}
  1. When I click on the second fold, the SubDrawer does not appear.

Here is the bug reproducing movie.

bandicam.2024-02-15.00-11-28-178.mp4

This bug has been reproduced since version 1.12.0 .

Unity Version / Unity版本

  • 2020.3.32f1

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.