User avatar
tkaczz
Topic Author
Posts: 16
Joined: 01 May 2018, 20:39

Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

10 Apr 2020, 17:13

Post processing is working without noesis, but if I turn on NoesisView component then it's gone. Is this a bug?

Related video
https://my.pcloud.com/publink/show?code ... JRgkO058JX

Xaml
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="DefaultFont" TargetType="{x:Type Control}">
        <Setter Property="FontFamily" Value="/Shadows-of-the-past-blend;component/Assets/Content/Fonts/Fondamento-regular.ttf" />
        <Setter Property="Foreground" Value="White" />
        <Setter Property="FontSize" Value="14" />
    </Style>
    <Style
        x:Key="DefaultPage"
        BasedOn="{StaticResource DefaultFont}"
        TargetType="Page" />
</ResourceDictionary>
<Page
    x:Class="UI.Views.MainMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:UI.Views"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="MainMenu"
    Style="{StaticResource DefaultPage}">
    <Viewbox>
        <Grid>
            <Image Source="../Graphics/Backgrounds/NewMenuBeckground-opt.png" />
            <Image
                HorizontalAlignment="Left"
                VerticalAlignment="Bottom"
                Source="../Graphics/MenuRelated/Raven-opt.png" />
        </Grid>
    </Viewbox>
</Page>
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

13 Apr 2020, 17:11

By default, Post Processing should affect the UI in the traditional pipeline. For Scriptable Render Pipelines many things changed, could you try the latest 3.0 beta for this please?
 
User avatar
tkaczz
Topic Author
Posts: 16
Joined: 01 May 2018, 20:39

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

15 Apr 2020, 10:30

By default, Post Processing should affect the UI in the traditional pipeline. For Scriptable Render Pipelines many things changed, could you try the latest 3.0 beta for this please?
Same thing, NoesisGUI-3.0.0b7

Related video
https://my.pcloud.com/publink/show?code ... V625vLc9rk
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

17 Apr 2020, 14:28

I need to find time for this. Have you tried using Camera Stacking with URP? It seems it is supported now in URP, not sure how compatible it is with NoesisGUI but I will try soon.
 
User avatar
tkaczz
Topic Author
Posts: 16
Joined: 01 May 2018, 20:39

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

17 Apr 2020, 14:54

Later I'll post results.
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

21 Apr 2020, 11:23

Thank you! Waiting for your feedback then
 
User avatar
tkaczz
Topic Author
Posts: 16
Joined: 01 May 2018, 20:39

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

21 Apr 2020, 14:09

Finally free from ludum dare 46 :D

Noesis 2.2.6
Okay, what I did. I removed Volume component from MainMenuCamera, and move it to another camera set as Overlay. Next, I'll plugged that second camera in base camera. No post processing and everything is weirdly reversed.

Related video
https://my.pcloud.com/publink/show?code ... rGGJzmdnM7

Noesis 3.0.0b8
Nothing changed in scene, prefab setup. Even more weird behaviour
https://my.pcloud.com/publink/show?code ... oVKhkz9ay7

MenuResource.xaml
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="DefaultFont" TargetType="{x:Type Control}">
        <Setter Property="FontFamily" Value="/Shadows-of-the-past-blend;component/Assets/Content/Fonts/#Fondamento" />
        <Setter Property="Foreground" Value="White" />
        <Setter Property="FontSize" Value="32" />
    </Style>
    <Style x:Key="DefaultLabelFont" TargetType="{x:Type Control}">
        <Setter Property="FontFamily" Value="/Shadows-of-the-past-blend;component/Assets/Content/Fonts/#Volantene Script" />
        <Setter Property="Foreground" Value="White" />
        <Setter Property="FontSize" Value="38" />
    </Style>
    <Style
        x:Key="DefaultButton"
        BasedOn="{StaticResource DefaultFont}"
        TargetType="Button">
        <Setter Property="Margin" Value="22.5" />
        <Setter Property="BorderBrush" Value="{x:Null}" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter x:Name="ButtonFrame" Property="Background">
            <Setter.Value>
                <ImageBrush ImageSource="./Graphics/Button/ButtonFrame-opt.png" />
            </Setter.Value>
        </Setter>
        <Setter Property="MaxHeight" Value="175" />
        <Setter Property="MaxWidth" Value="550" />
        <Setter Property="Content">
            <Setter.Value>
                <ContentPresenter
                    Grid.Row="1"
                    Grid.Column="1"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center" />
                <!--  Content="{TemplateBinding Content}"  -->
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Foreground" Value="Red" />
                <Setter Property="Background">
                    <Setter.Value>
                        <ImageBrush ImageSource="./Graphics/Button/ButtonFrame-Highlighted-opt.png" />
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
</ResourceDictionary>
Last edited by tkaczz on 25 Apr 2020, 16:25, edited 1 time in total.
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

25 Apr 2020, 13:41

Thanks for your investigation. Could you please open a ticket about it?
 
User avatar
tkaczz
Topic Author
Posts: 16
Joined: 01 May 2018, 20:39

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

25 Apr 2020, 15:19

Thanks for your investigation. Could you please open a ticket about it?
No problem. Can't repro that reversing bug(?).
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can't use NoesisView with Unity 2019.3.9f1 URP's Post Processing - Noesis 2.2.6

27 Apr 2020, 12:09

Can't repro that reversing bug(?).
What do you mean? Is it working fine then?

Thanks for the ticket by the way (#1669)

Who is online

Users browsing this forum: Semrush [Bot] and 8 guests