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

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
AndyW
Posts: 848
Joined: Wed Mar 11, 2015 3:23 pm

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

Post 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 :)
Last edited by AndyW on Sun Jul 12, 2015 3:41 pm, edited 2 times in total.
Die Vitamine sind in der Dose gefangen!!!
User avatar
CZghost
Posts: 1943
Joined: Wed Jun 22, 2011 1:45 pm
Location: Czechia
Contact:

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

Post 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?
[ Linktree | Twitch | YouTube | Instagram | Websites ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon
AndyW
Posts: 848
Joined: Wed Mar 11, 2015 3:23 pm

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

Post 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 ;)
Die Vitamine sind in der Dose gefangen!!!
User avatar
CZghost
Posts: 1943
Joined: Wed Jun 22, 2011 1:45 pm
Location: Czechia
Contact:

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

Post by CZghost »

Oh, sorry, my fault :D I overseen the six :D Then that's fine :) I appreciate :)
[ Linktree | Twitch | YouTube | Instagram | Websites ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon
AndyW
Posts: 848
Joined: Wed Mar 11, 2015 3:23 pm

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

Post 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:
Die Vitamine sind in der Dose gefangen!!!
Post Reply