Jump to content

Error Change quality Shadows


Yue
 Share

Recommended Posts

I'm trying to change the quality of the shadow, but the scene remains dark, all the lights go out, any suggestion or is it a bug?

 

--#*****************************************************#
--# Proyecto 	: Pawn.									#
--# Scripter 	: Yue Rexie.							#
--# Fichero 	: Main.lua								#
--# Sitio Web	: http://www.iris3dgames.ga				#
--#*****************************************************#
--# Notas		: Fichero principal de entrada al		#
--# 													#
--#*****************************************************#
local ventana  = Window:Create("Pawn | Alpha | 0.0 ",0,0,1024,768, Window.Titlebar + Window.Center )
local lienzo  = Context:Create(ventana, 16 )
local mundo   = World:Create()
mundo:SetLightQuality(2)

Map:Load("Maps/start.map")

ventana:HideMouse()

while ventana:KeyHit(Key.Escape) == false and ventana:Closed() == false   do

	if ventana:KeyHit(Key.M) then 
		mundo:SetLightQuality(0)
	end

	Time:Update()
	mundo:Update()
	mundo:Render()
	lienzo:Sync(true)

end

 

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

  • Josh locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...