Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HDRP Editing Particles
#7
Here's the workaround:

Replace ObiActorBlueprintEditor.cs with the attached one. This will render particles in the editor as a black silhouette, to render them as white spheres with lambertian lighting, open up ParticleShader.shader and replace this line:

Code:
fo.color.rgb = i.color * (_LightColor0 * ndotl * atten + amb);

with this:

Code:
fo.color.rgb = i.color * (ndotl + amb);

that should do it.


Attached Files
.cs   ObiActorBlueprintEditor.cs (Size: 15.56 KB / Downloads: 9)
Reply


Messages In This Thread
HDRP Editing Particles - by StudioTatsu - 09-09-2020, 01:31 PM
RE: HDRP Editing Particles - by josemendez - 09-09-2020, 01:59 PM
RE: HDRP Editing Particles - by josemendez - 09-09-2020, 02:16 PM
RE: HDRP Editing Particles - by StudioTatsu - 09-09-2020, 04:22 PM
RE: HDRP Editing Particles - by feixiaku - 15-09-2020, 04:48 AM
RE: HDRP Editing Particles - by josemendez - 15-09-2020, 11:29 AM
RE: HDRP Editing Particles - by josemendez - 15-09-2020, 12:40 PM
RE: HDRP Editing Particles - by feixiaku - 28-10-2020, 11:09 AM
RE: HDRP Editing Particles - by josemendez - 28-10-2020, 11:13 AM
RE: HDRP Editing Particles - by feixiaku - 28-10-2020, 12:27 PM
RE: HDRP Editing Particles - by josemendez - 28-10-2020, 12:29 PM