Page 1 of 1

Radiant 164 crashes when trying to "phong shade" *SOLVED*

Posted: Sun Jul 12, 2015 1:22 pm
by AndyW
Hello again, a new week and new problems here :)
Sooo... every time i try to apply the phong-shader radiant just crashes.

SHADER:
[spoiler]textures/phongtest/phongtest
{
q3map_nonplanar
q3map_shadeangle 60
qer_editorimage textures/phongtest/phongtest.tga
{
map $lightmap
rgbGen identity
}
{
map textures/phongtest/phongtest.tga
blendFunc filter
}
}[/spoiler]

Shader file is placed in /scripts and added to the Shader_LIST
Texture placed in /textures/phongtest

I watched some videos on youtube and checked Socks tutorial, but it seems like radiant cannot load the shader (maybe i am missing something)
Very strange again :D

EDIT: SORRY GUYS I GOT IT... :/

It figured out that it was not a good idea to use a 49 Megabytes Stone Texture, hehe. :clownboat:
Now this was an accident but what is the file-size limit for good performance? And can i use textures bigger then 1024x1024 for terrain?

Looks like i get into that shader stuff finally, jiipiiiee!
And that phong-shade-stuff is soo damn sexy... me so happy :)

Re: Radiant 164 crashes when trying to "phong shade"

Posted: Sun Jul 12, 2015 1:34 pm
by CZghost
First, for lightmap stage, you have to specify lightmap texture mapping (tcGen lightmap), then rgbGen identity should be on the texture stage instead and last, why do you use outdated version of Radiant?

Re: Radiant 164 crashes when trying to "phong shade"

Posted: Sun Jul 12, 2015 1:47 pm
by AndyW
Im using 164 which is the newest i can find on http://icculus.org/gtkradiant/downloads.html
But it finally works now, thanks anyway ;)

Re: Radiant 164 crashes when trying to "phong shade"

Posted: Sun Jul 12, 2015 2:00 pm
by CZghost
Oh, sorry, my fault :D I overseen the six :D Then that's fine :) I appreciate :)

Re: Radiant 164 crashes when trying to "phong shade"

Posted: Sun Jul 12, 2015 3:36 pm
by AndyW
Heh... I have to say that im really happy with the first tests!

NO PHONG:
[lvlshot]http://i.imgur.com/baw9mwe.jpg[/lvlshot]

SEXY HEXY PHONG PARTY:
[lvlshot]http://i.imgur.com/Zapfn0t.jpg[/lvlshot]

I never made terrain cause it always ended up in a real splattershow with broken brushes and duplicated planes everywhere. :cry: