Black particles when "Virtual Reality Supported" on — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Black particles when "Virtual Reality Supported" on

SuppleTeetSuppleTeet Posts: 25
Brain Burst
edited March 2016 in Oculus Go Development
Hi,

My confetti particles in Gear VR BUTTS have started showing up black. I believe with the last update to the Oculus Gear VR app on my S6.

After lots of trial and error I narrowed down the issue to the "Virtual Reality Supported" check box. If that's on, they're black, if off they have color.

I was building from 5.3.3p1, and now from Unity 5.4.4f1, (and oculus utilities 1.3) and I tried a bunch of different shader combinations to fix this with no such luck. Even using the same shader as the characters the confetti shows up black... even though the characters don't.

Is there anything I can do to fix this? Or is this on Unity's end?

My confetti shader looks like this. The confetti is set up as quad meshes, and needs vert colors for the particle system to set the colors:
Shader "Custom/Confetti" {
Properties {
    _Color ("Main Color", Color) = (1,1,1,1)
}
SubShader {
    Tags { "Queue"="Geometry" "RenderType"="Geometry" }
    //Blend SrcAlpha OneMinusSrcAlpha
    //ZWrite On
    Lighting Off Fog { Mode Off }
    Cull Off
    
    CGPROGRAM
    #pragma surface surf Lambert 
 
    float4 _Color;
 
    struct Input {
        float4 color : COLOR; 
    }; 

	void surf (Input IN, inout SurfaceOutput o) {
        o.Albedo = IN.color.rgb * _Color.rgb;
        //o.Alpha = 1;
    }
 
    ENDCG
 }
 Fallback "VertexLit"
}

Comments

  • SuppleTeetSuppleTeet Posts: 25
    Brain Burst
    This problem has magically resolved itself. Perhaps with another update? I have no idea.
  • cyberealitycybereality Posts: 26,156 Oculus Staff
    Oh, good news. Sorry I couldn't help.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i
    Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
Sign In or Register to comment.