Garux / netradiant-custom

The open-source, cross-platform level editor for id Tech based games.
https://garux.github.io/NRC/
Other
299 stars 52 forks source link

"Shader not found" despite qer_editorimage specified #142

Closed TomArrow closed 1 year ago

TomArrow commented 1 year ago

shader not found This shader is found by the editor through the shader file which is in the shaderlist.txt, but it doesn't display it as a texture.

This is the shader:

textures/rift/rock3_phong
{
    q3map_shadeangle    98
    qer_editorimage textures/yavin/rock3
    q3map_nonplanar
    q3map_splotchfix
    q3map_forcemeta
    {
        map textures/rift/rock3
        rgbGen identity
    }
    {
        map $lightmap
        blendFunc GL_DST_COLOR GL_ZERO
        rgbGen identity
    }
}

I noticed the qer_editorimage points at a different folder which is likely an oversight by the developers however textures/yavin/rock3 exists and is in fact the same texture as textures/rift/rock3, but it is not displayed. It's a 1024x1024 jpeg image.

Any clues to what's the problem here?

Edit: It displays fine ingame, but in the editor it's just all blue/"shader not found". Also, if important, the game is Jedi Academy.

TomArrow commented 1 year ago

On a side note, the font is very small in the new netradiant version on above HD dissplay, is there a way to fix it? I checked preferences but don't see font size. Makes it hard to read some stuff depending on color.

Edit: The dark color scheme also makes it hard to see lines on the grey background, can it be deactivated?

TomArrow commented 1 year ago

Nevermind I did indeed not have it in shaderlist.txt. I assumed it would be by default.

Garux commented 1 year ago

Here are color and font adjustments image