Hi Folks,
I recently switched from Windows to Mac and running the MacRadiant gives me a little pain in the neck currently. Problem is that I successfully used a camera before (with the misc_portal_camera, misc_portal_surface entity) under windows but can’t get it to work with the MacRadiant. Enclosed the shader file which worked for me under windows.I also made sure that the shader is listed in the shaderlist.txt file and that I have all required textures and the shader file in the right folders. The shader has it’s white borders and the path in the shader file is correct (/textures/common/camera). Any suggestion to solve this problem is highly appreciated.
here the shader file that worked previously:
textures/common/camera
{
portal
surfaceparm nolightmap
{
map textures/tutcam/portal_ground.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
depthWrite
}
{
map textures/tutcam/portal_ground.tga
blendfunc gl_src_alpha gl_one_minus_src_alpha
alphagen portal 256
rgbGen identityLighting
}
}