4.11.2 - DFAO and Foliage shading issues

Hi,

I have upgraded to 4.11.2 but I’ve got two issues with it.

First, I don’t see 2 Sided foliage shading anymore, is “2 Sided” the same “2 Sided foliage shading” model we had in 4.10?

Second, No DFAO

DFAO + Visualizer

DFAO + Lit

Why so dark?

Bump…

I noticed something it wrong with skylight itself. Not DFAO.

Stationary skylight (No DFAO)

Movable skylight (No DFAO)

Reflections look really wrong with movable.

Edit: The problem appears only on foliage. Might be related to my first question in OP.

We are having the same problem here in our project! We updated the project from 4.10.4 to 4.11.2 and now the two-sided foliage material is not working anymore! Please we need fix! Thanks!

I also had problems with foliage, tryed to import a 4.10 project into 4.11 and the shading model was Two Sided Foliage shading too.
Got this errors:

Error [SM5] Material.usf(1592,30): warning X3206: implicit truncation of vector type
Error [SM5] ParticleSpriteVertexFactory.usf(281,39): error X3018: invalid subscript ‘TexCoord_Unflipped’
Error [SM5] ParticleGPUSpriteVertexFactory.usf(503,39): error X3018: invalid subscript ‘TexCoord_Unflipped’

/\ We are from the same project hehe, same problem.
I unchecked the ‘Used with Particle Sprites’ (don’t know why this was checked, but it worked on 4.10 anyway) and it compiled with no errors =)!

Another comparison. Movable skylight behavior is different than 4.10 :confused:

Stationary skylight

Movable skylight

Too much darkness without DFAO enabled.

Why is that?

I just finished downloading 4.12 Preview and the problem is still there. Happening only on the “2 Sided” and “Subsurface” models. In 4.10 and lower everything works fine.

Can I finally get a solution to this please?

Anyone know what’s going on with this?

Also getting issues with this!!

Thanks for bringing this up. Movable skylight with TwoSided or Subsurface was incorrect and has been fixed in the upcoming 4.13.

cl 2982601
Movable skylight now matches stationary for subsurface shading models

  • Two sided was broken in 4.11, Subsurface had never been handled

So awesome, thank you for the hard work! :slight_smile:

4.23 with Niagara. Had this weird issue and couldn’t solve it in any way.

The problem started as soon as I used my material to override a mesh particle renderer inside Niagara’s module.
I tried many things until this.

I am leaving this comment here in case anyone is getting the warning back

EDIT: Disable all your material usages, compile and later activate only niagara mesh particles. This will solve the issue.

was the simpilar error - invalid subUVparams when compiling cloud material shader, compelled to unckek all boxes but used with NIagara sprite, then compiled witout a problem.
Its interesting this problem arised sudden on yesterday