Project

General

Profile

Actions

Feature #573

open

PlugIt for mipmap_bias default changing

Added by el_motoblock about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/19/2017
Due date:
% Done:

0%

Estimated time:

Description

plyease add plug-it for changing default value of mipmap_bias to other numbers.

http://www.ogre3d.org/docs/manual/manual_17.html#mipmap_005fbias
Format: mipmap_bias <value>
Default: mipmap_bias 0

I understand this but I'm not completely sure:
If the material has a texture dd, but not set the parameter mipmap_bias,
Then it is set to 0.
You need a plugin that changes this parameter to the specified one.
Only if not specified in the *.material file
So that it does not affect if the value specified in the file is.

Actions #1

Updated by el_motoblock about 7 years ago

This thing is needed to adjust this value to increase the picture quality / performance

Actions #2

Updated by arkeon about 7 years ago

I'm not sure it's a good idea to use a plugit for the default value, maybe this parameter should be better in the scene render settings

Actions #3

Updated by arkeon about 7 years ago

Or do you think this must be change at runtime ?

Actions #4

Updated by arkeon about 7 years ago

after a quick look at Ogre code, the mipmap bias is set on textures units on material creation / load.
Change this value on all materials at runtime should means to update all textures in scene and could be heavy.
What I can do is to manage a default value in our 3D engine on texture creation.

Another better solution should be to have a material editor and be able to change this option for each material.

Actions #5

Updated by el_motoblock about 7 years ago

It is necessary all manually. But I wanted to be able to change the settings both in the game settings.

Actions

Also available in: Atom PDF