Everything turns red

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
inzerke
CJ Wannabe
CJ Wannabe
Posts: 15
Joined: February 18th, 2012, 9:27 am

Everything turns red

Post by inzerke » February 19th, 2012, 5:10 pm

Hi,

After making a really small map with some glass and other materials I discovered that ingame the glass and some other material turns red.I guess this has to do with my skybox / worldspawnsettings?

http://imageshack.us/f/24/redks.png/

Hope someone can help me with this (:

worldspawnsettings:
_color 1 1 1
ambient 1
contrastGain 0.425
diffusefraction 0.5
radiosityScale 1.5
suncolor 1 1 1
sundiffusecolor .9 0.88 .75
sundirection 50 240 0
sunlight 1.3

EDITED the worldspawnsettings

User avatar
Goro92
CJ Spammer!
CJ Spammer!
Posts: 605
Joined: March 7th, 2011, 5:54 pm
Location: Brescia, Italy

Re: Everything turns red

Post by Goro92 » February 19th, 2012, 5:34 pm

quote from modsonline
More than likely, you forgot to add reflection probes into your map. You place these probes in key areas. and whichever the player is closest to (or ent is closest to), it will adapt to using that reflection probe.

A reflection probe basically takes "snap shots" (like pictures) of all six directions (up, down, left, right, forward, back). Then it will apply that environment map to any texture that has specularity, so the specularity of that texture matches the area. This goes for everything with specularity, like sniper scope lens or even characters. Pretty much everything has a specular pass
Image

inzerke
CJ Wannabe
CJ Wannabe
Posts: 15
Joined: February 18th, 2012, 9:27 am

Re: Everything turns red

Post by inzerke » February 19th, 2012, 6:11 pm

Could you send me the link from the turtorial / page since I don't get it.

Vartazian
CJ Worshipper
CJ Worshipper
Posts: 286
Joined: June 10th, 2011, 9:14 pm

Re: Everything turns red

Post by Vartazian » February 19th, 2012, 6:23 pm

Ah m8 yes this is a very easy fix :) Right click on 2d grid > reflection probe. place a few of these around the map, especially near shiny surfaces. Then compile bsp, and compile reflections, then build ff, zone files, and done.

Vartazian
CJ Worshipper
CJ Worshipper
Posts: 286
Joined: June 10th, 2011, 9:14 pm

Re: Everything turns red

Post by Vartazian » February 19th, 2012, 6:25 pm

just curious, is this a jump map your working on? :D

inzerke
CJ Wannabe
CJ Wannabe
Posts: 15
Joined: February 18th, 2012, 9:27 am

Re: Everything turns red

Post by inzerke » February 19th, 2012, 6:51 pm

Working on a deathrun map :p
Lets try that out since the glass is shiny and turns out red.

User avatar
Goro92
CJ Spammer!
CJ Spammer!
Posts: 605
Joined: March 7th, 2011, 5:54 pm
Location: Brescia, Italy

Re: Everything turns red

Post by Goro92 » February 19th, 2012, 7:24 pm

inzerke wrote:Could you send me the link from the turtorial / page since I don't get it.
http://modsonline.com/Tutorials-read-434.html

http://wiki.modsrepository.com/index.ph ... ion_Probes
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests