x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

After upgrade to 4.21, during cooking, the SM4/DX10 shaders are being compiled.

We recently updated our Unreal Engine to version 4.21. After that we noticed that during cooking, the SM4/DX10 shaders are being compiled. Our game and GPU are both DX11 and we are cooking for Win64. Why would Unreal Engine compile SM4/DX10 shaders during cooking? It seems it started after we upgraded to 4.21.

These are some lines from our cooking log:

UATHelper: Packaging (Windows (64-bit)): LogShaders: Display: Compiling M_Widget3DTerritoryNodes: Platform=PCD3D_SM4, Usage=LightingModel=MSM_DefaultLit, BlendMode=BLEND_Translucent, SpecialEngine=0, TwoSided=0, TSNormal=1, Masked=0, Distorted=0, WritesEveryPixel=1, ModifiesMeshPosition=0, Usage={}, StaticMaterialLayers= UATHelper: Packaging (Windows (64-bit)): LogShaders: Warning: 28 Shaders among 1 VertexFactories UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_LargeRugOrnate_2, compiling. UATHelper: Packaging (Windows (64-bit)): LogMaterial: Warning: D:\P4\twd_main\TWD\Content\Environment\Prop\Decor_01\Plush\M_LargeRugOrnate_2.uasset: Failed to compile Material for platform PCD3D_SM4, Default Material will be used in game.

Product Version: UE 4.21
Tags:
more ▼

asked Jan 11 '19 at 08:24 PM in Bug Reports

avatar image

dsavine
6 1 1

avatar image dsavine Jan 11 '19 at 09:34 PM

It seems, in UE 4.21 all the code that was choosing “Only cache shaders for the quality level that will actually be used to render”, is now moved inside #if STORE_ONLY_ACTIVE_SHADERMAPS, which is set to 0.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question