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"

How to create new texture group

I cannot find how to create new or edit texture group. For instance I need texture group for foliage with negative LODbias=-2

Help says that these settings are in DefaultEngine.ini under SystemSettings but they are not

Pls help

Product Version: UE 4.10
Tags:
more ▼

asked Feb 12 '16 at 01:32 PM in C++ Programming

avatar image

Svarc
21 5 6 8

avatar image SkyHigh Feb 13 '17 at 11:31 PM

I'm looking to find a solution to this issue also, using the 4.14.3 version of the engine. Looking at this documentation:

https://docs.unrealengine.com/latest/INT/Engine/Content/Types/Textures/SupportAndSettings/#EngineConfigTextureGroupProperties

DefaultEngine.ini and BaseEngine.ini is presented as the place to alter existing texture group settings. As it turns out, in my engine installation config folder, the BaseEngine.ini file holds no trace of the relevant lines found in the documentation, likewise the project DefaultEngine.ini file turns up short on texture group configuration lines.

Looking to this answerhub post:

https://answers.unrealengine.com/questions/384823/how-to-add-custom-texturegroup.html

It's clear that new texture groups needs a bit of work in C++, but it returns to "use the INI file to adjust the settings" landing on the same issue as editing the existing groups.

Am I completely missing the point, or is the documentation out of date, or something else entirely? Some insight or instruction on the matter would be greatly appreciated.

avatar image rosenand Jul 19 '17 at 09:16 AM

Bump? Still unclear how to add custom texture groups, and the .ini files don't have the lines given in the documentation.

avatar image miko1a Jul 20 '17 at 08:29 AM

I believe you should look into DefaultDeviceProfiles.ini (BaseDeviceProfiles.ini respectively). Or you can use Device Profiles (Window/ Developer Tools/) in the Editor itself.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

4.20 and beyond

Since 4.20 there are 10 Project specific Texturegroups available for usage:

 /** Project specific group, rename in Engine.ini, [EnumRemap] TEXTUREGROUP_Project**.DisplayName=My Fun Group */
 TEXTUREGROUP_Project01 UMETA(DisplayName="ini:Project Group 01"),
 TEXTUREGROUP_Project02 UMETA(DisplayName="ini:Project Group 02"),
 TEXTUREGROUP_Project03 UMETA(DisplayName="ini:Project Group 03"),
 TEXTUREGROUP_Project04 UMETA(DisplayName="ini:Project Group 04"),
 TEXTUREGROUP_Project05 UMETA(DisplayName="ini:Project Group 05"),
 TEXTUREGROUP_Project06 UMETA(DisplayName="ini:Project Group 06"),
 TEXTUREGROUP_Project07 UMETA(DisplayName="ini:Project Group 07"),
 TEXTUREGROUP_Project08 UMETA(DisplayName="ini:Project Group 08"),
 TEXTUREGROUP_Project09 UMETA(DisplayName="ini:Project Group 09"),
 TEXTUREGROUP_Project10 UMETA(DisplayName="ini:Project Group 10"),

These can be, as mentioned by the comment, renamed for each project in the DefaultEngine.ini of the project:

 [EnumRemap]
  TEXTUREGROUP_Project01.DisplayName=Map Grid

Before 4.20

Adding texture groups requires engine changes. The Texture Groups are defined in TextureDefines.h:

 /**
  * @warning: if this is changed:
  *     update BaseEngine.ini [SystemSettings]
  *     you might have to update the update Game's DefaultEngine.ini [SystemSettings]
  *     order and actual name can never change (order is important!)
  *
  * TEXTUREGROUP_Cinematic: should be used for Cinematics which will be baked out
  *                         and want to have the highest settings
  */
 UENUM()
 enum TextureGroup
 {
     TEXTUREGROUP_World UMETA(DisplayName="World"),
     TEXTUREGROUP_WorldNormalMap UMETA(DisplayName="WorldNormalMap"),
     TEXTUREGROUP_WorldSpecular UMETA(DisplayName="WorldSpecular"),
     TEXTUREGROUP_Character UMETA(DisplayName="Character"),
     // ....
 };


As the warning already suggests this is nothing that should be done without a good reason. Anyway this would be the place to start. The next step would be to set default values for the newly created texture groups in BaseDeviceProfiles.ini under [/Script/Engine.TextureLODSettings].

more ▼

answered Nov 23 '18 at 07:05 PM

avatar image

Pampersrocka
48 4 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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